mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-23 10:23:13 +08:00
18 lines
412 B
C#
18 lines
412 B
C#
|
|
using System.Collections.Generic;
|
|
|
|
namespace OpcUaWebTelemetry.CircularBuffer
|
|
{
|
|
public interface ICircularBuffer<T>
|
|
{
|
|
int Count { get; }
|
|
int Capacity { get; set; }
|
|
T Enqueue(T item);
|
|
T Dequeue();
|
|
void Clear();
|
|
T this[int index] { get; set; }
|
|
int IndexOf(T item);
|
|
void Insert(int index, T item);
|
|
void RemoveAt(int index);
|
|
}
|
|
} |