|
Enhanced C#
Language of your choice: library documentation
|
An immutable set of type SetT with elements of type T. More...
An immutable set of type SetT with elements of type T.
| SetT | Type of this set. |
| T | Type 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) |
|
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.
1.8.7