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
Public fields | Properties | Public Member Functions | List of all members
Loyc.Collections.Set< T >.Enumerator Struct Reference

Enumerator for MSet{T}. More...


Source file:
Inheritance diagram for Loyc.Collections.Set< T >.Enumerator:
Loyc.Collections.Set< T > Loyc.Collections.ISetImm< T > Loyc.Collections.ISetImm< T, SetT > Loyc.Collections.ISetOperations< in T, in InSetT, out OutSetT > Loyc.Collections.ISetOperations< in T, SetT > Loyc.Collections.ISetOperations< in T, in InSetT, out OutSetT >

Remarks

Enumerator for MSet{T}.

This is a wrapper of Impl.InternalSet{T}.Enumerator that blocks editing functionality.

Public fields

InternalSet< T >.Enumerator _e
 
- Public fields inherited from Loyc.Collections.Set< T >
IEqualityComparer< T > _comparer
 
int _count
 

Properties

Current [get]
 
object
System.Collections.IEnumerator. 
Current [get]
 
- Properties inherited from Loyc.Collections.Set< T >
bool IsEmpty [get]
 
InternalSet< T > InternalSet [get]
 
IEqualityComparer< T > Comparer [get]
 
int Count [get]
 
bool IsReadOnly [get]
 
bool ISetImm< T, Set< T > >. IsInverted [get]
 
- Properties inherited from Loyc.Collections.ISetImm< T, SetT >
bool IsInverted [get]
 Returns true if the set is inverted, which means that the enumerator returns all the items that are not in the set, and the IReadOnlyCollection{T}.Count returns the number of items that are not in the set. More...
 

Public Member Functions

bool MoveNext ()
 
void IDisposable. Dispose ()
 
void
System.Collections.IEnumerator. 
Reset ()
 
- Public Member Functions inherited from Loyc.Collections.Set< T >
 Set (IEnumerable< T > list)
 
 Set (IEqualityComparer< T > comparer)
 
 Set (IEnumerable< T > list, IEqualityComparer< T > comparer)
 
 Set (InternalSet< T > set, IEqualityComparer< T > comparer)
 
bool IEquatable< Set< T > >. Equals (Set< T > rhs)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
bool Find (ref T item)
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
void ICollection< T >. Add (T item)
 
void ICollection< T >. Clear ()
 
bool ICollection< T >. Remove (T item)
 
IEnumerator< T > IEnumerable< T >. GetEnumerator ()
 
System.Collections.IEnumerator
System.Collections.IEnumerable. 
GetEnumerator ()
 
bool IsSubsetOf (IEnumerable< T > other)
 Returns true if all items in this set are present in the other set. More...
 
bool IsSubsetOf (Set< T > other)
 
bool IsSubsetOf (MSet< T > other)
 
bool IsSubsetOf (ISet< T > other)
 
bool IsSupersetOf (IEnumerable< T > other)
 Returns true if all items in the other set are present in this set. More...
 
bool IsSupersetOf (Set< T > other)
 
bool IsSupersetOf (MSet< T > other)
 
bool Overlaps (IEnumerable< T > other)
 Returns true if this set contains at least one item from 'other'. More...
 
bool Overlaps (Set< T > other)
 
bool Overlaps (MSet< T > other)
 
bool IsProperSubsetOf (Set< T > other)
 
bool IsProperSubsetOf (MSet< T > other)
 
bool IsProperSubsetOf (ISet< T > other)
 
bool IsProperSubsetOf (IEnumerable< T > other)
 
bool IsProperSupersetOf (Set< T > other)
 
bool IsProperSupersetOf (MSet< T > other)
 
bool IsProperSupersetOf (ISet< T > other)
 
bool IsProperSupersetOf (IEnumerable< T > other)
 
bool SetEquals (Set< T > other)
 
bool SetEquals (MSet< T > other)
 
bool SetEquals (ISet< T > other)
 
bool SetEquals (IEnumerable< T > other)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
With (T item)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
Without (T item)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
Union (IEnumerable< T > other)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
Intersect (IEnumerable< T > other)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
Except (IEnumerable< T > other)
 
ISetImm< T > ISetOperations< T,
IEnumerable< T >, ISetImm< T > >. 
Xor (IEnumerable< T > other)
 
Set< T > With (T item)
 
Set< T > Without (T item)
 
Set< T > WithToggled (T item)
 
Set< T > Union (Set< T > other)
 
Set< T > Union (Set< T > other, bool replaceWithValuesFromOther)
 
Set< T > Union (MSet< T > other, bool replaceWithValuesFromOther=false)
 
Set< T > Union (IEnumerable< T > other, bool replaceWithValuesFromOther=false)
 
Set< T > Intersect (Set< T > other)
 
Set< T > Intersect (MSet< T > other)
 
Set< T > Intersect (IEnumerable< T > other)
 
Set< T > Except (Set< T > other)
 
Set< T > Except (MSet< T > other)
 
Set< T > Except (IEnumerable< T > other)
 
Set< T > Xor (Set< T > other)
 
Set< T > Xor (MSet< T > other)
 
Set< T > Xor (IEnumerable< T > other)
 
MSet< T > AsMutable ()
 
Set< T > Where (Predicate< T > match)
 Returns a new set that contains only items that match the specified predicate (i.e. for which the predicate returns true). More...
 
long CountMemory (int sizeOfT)
 Measures the total size of all objects allocated to this collection, in bytes, including the size of this object itself; see Impl.InternalSet{T}.CountMemory. More...
 
- Public Member Functions inherited from Loyc.Collections.ISetOperations< in T, in InSetT, out OutSetT >
OutSetT Union (InSetT other)
 
OutSetT Intersect (InSetT other)
 
OutSetT Except (InSetT other)
 
OutSetT Xor (InSetT other)
 

Additional Inherited Members

- Public static fields inherited from Loyc.Collections.Set< T >
static readonly Set< T > Empty = new Set<T>()
 
- Static Public Member Functions inherited from Loyc.Collections.Set< T >
static Set< T > operator& (Set< T > a, Set< T > b)
 
static Set< T > operator& (Set< T > a, MSet< T > b)
 
static Set< T > operator| (Set< T > a, Set< T > b)
 
static Set< T > operator| (Set< T > a, MSet< T > b)
 
static Set< T > operator- (Set< T > a, Set< T > b)
 
static Set< T > operator- (Set< T > a, MSet< T > b)
 
static Set< T > operator^ (Set< T > a, Set< T > b)
 
static Set< T > operator^ (Set< T > a, MSet< T > b)
 
static Set< T > operator+ (T item, Set< T > a)
 
static Set< T > operator+ (Set< T > a, T item)
 
static Set< T > operator- (Set< T > a, T item)
 
static Set< T > operator^ (Set< T > a, T item)
 
static operator MSet< T > (Set< T > a)