System.Collections conform class for a ring-queue.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
[SerializableAttribute]
public class Dequeue<T> : IEnumerable<T>, IEnumerable
Visual Basic
<SerializableAttribute>
Public Class Dequeue(Of T)
	Implements IEnumerable(Of T), IEnumerable
Visual C++
[SerializableAttribute]
generic<typename T>
public ref class Dequeue : IEnumerable<T>, 
	IEnumerable
F#
[<SerializableAttribute>]
type Dequeue<'T> =  
    class
        interface IEnumerable<'T>
        interface IEnumerable
    end

Type Parameters

T
type of this Dequeue

Remarks

The collection support adding and removing at both ends and automatic expansion. The left end of the ring is referred to as head, the right end as tail. add / remove is O(1) expansion is O(n) indexed access and enumeration is O(1)

Inheritance Hierarchy

System..::..Object
  RightEdge.Common..::..Dequeue<(Of <(<'T>)>)>

See Also