OrderedSetTIsSupersetOf Method |
Determines if this set is a superset of another set. Neither set is modified.
This set is a superset of
otherSet if every element in
otherSet is also in this set.
RemarksIsSupersetOf is computed in time O(M log N), where M is the size of the
otherSet, and N is the size of the this set.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic bool IsSupersetOf(
OrderedSet<T> otherSet
)
public:
bool IsSupersetOf(
OrderedSet<T>^ otherSet
)
Parameters
- otherSet
- Type: X3Platform.CollectionsOrderedSetT
OrderedSet to compare to.
Return Value
Type:
BooleanTrue if this is a superset of
otherSet.
Exceptions
See Also