You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/Collections/IFixSizeQueue.cs

19 lines
334 B

using System.Collections.Generic;
namespace ZeroLevel.Services.Collections
{
public interface IFixSizeQueue<T>
{
void Push(T item);
long Count { get; }
bool TryTake(out T t);
T Take();
IEnumerable<T> Dump();
bool Contains(T item, IComparer<T> comparer = null!);
}
}

Powered by TurnKey Linux.