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.Impl.InternalDList< T >.Enumerator Class Reference

Source file:
Inheritance diagram for Loyc.Collections.Impl.InternalDList< T >.Enumerator:
Loyc.Collections.Impl.InternalDList< T > Loyc.Collections.IListSource< out T > Loyc.ICloneable< out T >

Properties

Current [get]
 
- Properties inherited from Loyc.Collections.Impl.InternalDList< T >
T[] InternalArray [get]
 
int Capacity [get, set]
 
this[int index] [get, set]
 
this[int index, T defaultValue] [get]
 
int Count [get]
 
bool IsReadOnly [get]
 
First [get, set]
 
Last [get, set]
 
bool IsEmpty [get]
 

Public Member Functions

bool MoveNext ()
 
- Public Member Functions inherited from Loyc.Collections.Impl.InternalDList< T >
 InternalDList (int capacity)
 
 InternalDList (T[] array, int count)
 
int Internalize (int index)
 
int IncMod (int index)
 
int IncMod (int index, int amount)
 
int DecMod (int index)
 
int DecMod (int index, int amount)
 
int IndexOf (T item)
 
int IndexOf (T item, int startIndex)
 
void PushLast (ICollection< T > items)
 
void PushLast (IEnumerable< T > items)
 
void PushLast (IReadOnlyCollection< T > items)
 
void PushLast (ICollectionAndReadOnly< T > items)
 
void PushLast (T item)
 
void PushFirst (T item)
 
void PopLast (int amount)
 
void PopFirst (int amount)
 
void AutoRaiseCapacity (int more)
 
void AutoRaiseCapacity (int more, int capacityLimit)
 
void Insert (int index, T item)
 
void InsertRange (int index, ICollection< T > items)
 
void InsertRange (int index, ICollectionAndReadOnly< T > items)
 
void InsertRange (int index, IReadOnlyCollection< T > items)
 
int InsertRangeHelper (int index, int amount)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int amount)
 
bool TrySet (int index, T value)
 
TryGet (int index, out bool fail)
 Gets the item at the specified index, and does not throw an exception on failure. More...
 
void Add (T item)
 An alias for PushLast(). More...
 
void Clear ()
 
void Resize (int newSize)
 
bool Contains (T item)
 
void CopyTo (T[] destination, int arrayIndex)
 
bool Remove (T item)
 
IRange< T > IListSource< T >. Slice (int start, int count)
 Returns a sub-range of this list. More...
 
InternalDList< T > Slice (int start, int subcount)
 Returns a sub-range of this list. More...
 
IEnumerator< T > IEnumerable< T >. GetEnumerator ()
 
System.Collections.IEnumerator
System.Collections.IEnumerable. 
GetEnumerator ()
 
IEnumerator< T > GetEnumerator ()
 
IEnumerator< T > GetEnumerator (DList< T > wrapper)
 
Maybe< T > TryPopFirst ()
 
Maybe< T > TryPeekFirst ()
 
Maybe< T > TryPopLast ()
 
Maybe< T > TryPeekLast ()
 
int BinarySearch (T k, Comparer< T > comp)
 
int BinarySearch< K > (K k, Func< T, K, int > compare, bool lowerBound=true)
 
InternalDList< T > Clone ()
 
void CopyTo (int sourceIndex, T[] destination, int destinationIndex, int subcount)
 
InternalDList< T > CopySection (int start, int subcount)
 
DList< T > AsDList ()
 Returns a DList{T} wrapped around this list. More...
 
void Sort (Comparison< T > comp)
 
void Sort (int index, int count, Comparison< T > comp)
 

Additional Inherited Members

- Public fields inherited from Loyc.Collections.Impl.InternalDList< T >
int _start
 
- Public static fields inherited from Loyc.Collections.Impl.InternalDList< T >
static readonly T[] EmptyArray = EmptyArray<T>.Value
 
static readonly InternalDList< T > Empty = new InternalDList<T>(0)
 
- Static Public Member Functions inherited from Loyc.Collections.Impl.InternalDList< T >
static int Min (int x, int y)