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
333 B

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

Powered by TurnKey Linux.