Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | 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.IIsEmpty Loyc.Collections.ICount 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

Properties

First [get, set]
 Gets the first item in the deque. More...
 
Last [get, set]
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 
- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...
 

Public Member Functions

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

Property Documentation

T Loyc.Collections.IDeque< T >.First
getset

Gets the first item in the deque.

Exceptions
InvalidOperationException