OrderedSetTIsProperSupersetOf Method |
Determines if this set is a proper superset of another set. Neither set is modified.
This set is a proper superset of otherSet if every element in
otherSet is also in this set.
Additionally, this set must have strictly more items than otherSet.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic bool IsProperSupersetOf(
OrderedSet<T> otherSet
)
public:
bool IsProperSupersetOf(
OrderedSet<T>^ otherSet
)
Parameters
- otherSet
- Type: X3Platform.CollectionsOrderedSetT
OrderedSet to compare to.
Return Value
Type:
BooleanTrue if this is a proper superset of
otherSet.
Exceptions
RemarksIsProperSupersetOf is computed in time O(M log N), where M is the number of unique items in
otherSet.
See Also