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