Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | List of all members
Loyc.Collections.IDeque< T > Interface Template Reference

Represents a double-ended queue that allows items to be added or removed at the beginning or end. More...


Source file:
Inheritance diagram for Loyc.Collections.IDeque< T >:
Loyc.Collections.IHasMFirst< T > Loyc.Collections.IHasMLast< T > Loyc.Collections.ICount Loyc.Collections.IHasFirst< out T > Loyc.Collections.IHasLast< out T > Loyc.Collections.IIsEmpty Loyc.Collections.IIsEmpty Loyc.Collections.AListBase< T > Loyc.Collections.DList< T > Loyc.Collections.INegDeque< T > Loyc.Collections.AList< T > Loyc.Collections.SparseAList< T > Loyc.Collections.IndexedAList< T >

Remarks

Represents a double-ended queue that allows items to be added or removed at the beginning or end.

Template Parameters
TType of each element

Public Member Functions

void PushFirst (T item)
 
void PushLast (T item)
 
Maybe< T > TryPopFirst ()
 
Maybe< T > TryPeekFirst ()
 
Maybe< T > TryPopLast ()
 
Maybe< T > TryPeekLast ()
 

Additional Inherited Members

- Properties inherited from Loyc.Collections.IHasMFirst< T >
new T First [get, set]
 
- Properties inherited from Loyc.Collections.IHasFirst< out T >
First [get]
 Gets the first item in the deque. More...
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 
- Properties inherited from Loyc.Collections.IHasMLast< T >
new T Last [get, set]
 
- Properties inherited from Loyc.Collections.IHasLast< out T >
Last [get]
 Gets the first item in the collection. More...
 
- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...