IBagConst
Description
- Derived from
-
IEnumerable<T>
- Extended by
-
BagConstBase abstract
IBag
ISetConst
IVectorConst
Base interface for classes that represent a read-only collection of elements.
Subclasses are free to implement set semantics, i.e. equal elements are stored only once. In that case, they should implement ISetConst.
Public / Methods
ContainsAll
2 overloads
Returns if this collection contains all the given elements.
This method will return false iff there is at least one element in elements in for which Contains returns false.
Returns if this collection contains all the given elements.
This method will return false iff there is at least one element in elements in for which Contains returns false.
ContainsMany
2 overloads
Returns if this collection contains none, some or all of the given elements.
This method will return false iff there is at least one element in elements in for which Contains returns false.
Returns if this collection contains none, some or all of the given elements.
This method will return false iff there is at least one element in elements in for which Contains returns false.
First
Returns the first enumerated value.
If the enumeration is empty, the default element type value is returned.
Last
Returns the last enumerated value.
If the enumeration is empty, the default element type value is returned.
Public / Attributes
MethodComparison
Returns the method that imposes a total order on the set of possible collection values.
Implementations are not required to actually use the exact same delegate returned by this property. The delegate is only required to be consistent with the comparison order used by the implementation.