Class EnumerableBase<T>

A base class for implementing an IEnumerable<T>

Implements

IEnumerable<T>, System.Collections.IEnumerable

Bases

object

Base of

ArrayBase<T>, ArrayBase<T>.Range, ArrayList<T>, CircularQueue<T>, CollectionBase<T>, CollectionValueBase<T>, DictionaryBase<K,V>, DirectedCollectionBase<T>, DirectedCollectionValueBase<T>, HashBag<T>, HashDictionary<K,V>, HashedArrayList<T>, HashedLinkedList<T>, HashSet<T>, IntervalHeap<T>, LinkedList<T>, SequencedBase<T>, SortedArray<T>, SortedDictionaryBase<K,V>, TreeBag<T>, TreeDictionary<K,V>, TreeSet<T>

Constructor overview

EnumerableBase<T>()

Method overview

countItems(IEnumerable<T> items) ,
Equals(object obj), Inherited from object ,
Finalize(), Inherited from object ,
GetEnumerator() ,
GetHashCode(), Inherited from object ,
GetType(), Inherited from object ,
MemberwiseClone(), Inherited from object ,
ToString(), Inherited from object

Constructor details

PEnumerableBase<T>()

Method details

SP int countItems(IEnumerable<T> items) Count the number of items in an enumerable by enumeration
Returns:The size of the enumerable
Parameters:
items:The enumerable to count
A System.Collections.Generic.IEnumerator<T> GetEnumerator() Create an enumerator for this collection.
Returns:The enumerator