C# Class Bless.Util.Deque

Double-ended queue data structure
Inheritance: IEnumerable
Show file Open project: bwrsandman/Bless-old-fork

Public Methods

Method Description
AddEnd ( o ) : void
AddFront ( o ) : void

Add an object to the front of the queue

Clear ( ) : void
Deque ( ) : System
GetEnumerator ( ) : IEnumerator
PeekEnd ( ) : T

Peek the object at the end of the queue

PeekFront ( ) : T

Peek the object at the front of the queue

RemoveEnd ( ) : T

Remove an object from the end of the queue (FIFO)

RemoveFront ( ) : T

Remove an object from the front of the queue (LIFO)

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Method Details

AddEnd() public method

public AddEnd ( o ) : void
return void

AddFront() public method

Add an object to the front of the queue
public AddFront ( o ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Deque() public method

public Deque ( ) : System
return System

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

PeekEnd() public method

Peek the object at the end of the queue
public PeekEnd ( ) : T
return T

PeekFront() public method

Peek the object at the front of the queue
public PeekFront ( ) : T
return T

RemoveEnd() public method

Remove an object from the end of the queue (FIFO)
public RemoveEnd ( ) : T
return T

RemoveFront() public method

Remove an object from the front of the queue (LIFO)
public RemoveFront ( ) : T
return T