Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class FixedSizedQueue<T>

Inheritance

↳ object

    ↳ ConcurrentQueue<T>

        ↳ FixedSizedQueue<T>

Implements

IProducerConsumerCollection<T>

ICollection

IReadOnlyCollection<T>

IEnumerable<T>

IEnumerable

Inherited Members

CopyTo(T[], int)

GetEnumerator()

ToArray()

TryDequeue(out T)

TryPeek(out T)

Count

IsEmpty

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Utils

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class FixedSizedQueue<T> : ConcurrentQueue<T>, IProducerConsumerCollection<T>, ICollection, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable

Constructors

FixedSizedQueue(int)

Declaration
public FixedSizedQueue(int size)
Parameters
TypeNameDescription
intsize

Properties

Size

Declaration
public int Size { get; }
Property value
TypeDescription
int

Methods

Enqueue(T)

Declaration
public void Enqueue(T obj)
Parameters
TypeNameDescription
{T}obj

Extension Methods