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

15 lines
329 B

6 years ago
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.