Class SimpleBoundedQueue<TE>
Inheritance
System.Object
SimpleBoundedQueue<TE>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Common.dll
Syntax
public class SimpleBoundedQueue<TE> : IBoundedQueue<TE> where TE : class
Type Parameters
Constructors
SimpleBoundedQueue()
Declaration
public SimpleBoundedQueue()
SimpleBoundedQueue(Boolean)
Declaration
public SimpleBoundedQueue(in bool circular)
Parameters
Type |
Name |
Description |
System.Boolean |
circular |
|
SimpleBoundedQueue(Int32)
Declaration
public SimpleBoundedQueue(in int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
SimpleBoundedQueue(Int32, Boolean)
Declaration
public SimpleBoundedQueue(in int size, in bool circular)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
System.Boolean |
circular |
|
Properties
Circular
Declaration
public virtual bool Circular { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Add(TE)
Declaration
public virtual bool Add(TE e)
Parameters
Type |
Name |
Description |
TE |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Element()
Declaration
public virtual TE Element()
Returns
IsEmpty()
Declaration
public virtual bool IsEmpty()
Returns
Type |
Description |
System.Boolean |
|
IsFull()
Declaration
public virtual bool IsFull()
Returns
Type |
Description |
System.Boolean |
|
MaxSize()
Declaration
public virtual int MaxSize()
Returns
Type |
Description |
System.Int32 |
|
Offer(TE)
Declaration
public virtual bool Offer(TE e)
Parameters
Type |
Name |
Description |
TE |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Peek()
Declaration
Returns
Poll()
Declaration
Returns
Remove()
Declaration
public virtual TE Remove()
Returns
Size()
Declaration
public virtual int Size()
Returns
Type |
Description |
System.Int32 |
|
Implements