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 | List of all members
Loyc.Collections.ISetImm< T, SetT > Interface Template Reference

An immutable set of type SetT with elements of type T. More...


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

Remarks

An immutable set of type SetT with elements of type T.

Template Parameters
SetTType of this set.
TType of items in the set

Properties

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...
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Collections.ISetOperations< in T, in InSetT, out OutSetT >
OutSetT With (T item)
 
OutSetT Without (T item)
 
OutSetT Union (InSetT other)
 
OutSetT Intersect (InSetT other)
 
OutSetT Except (InSetT other)
 
OutSetT Xor (InSetT other)
 

Property Documentation

bool Loyc.Collections.ISetImm< T, SetT >.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.

Loyc.Collections.InvertibleSet{T} is an example of a set that can be inverted. In most set implementations, this property always returns false.