Click or drag to resize
OrderedSetTIsDisjointFrom Method
Determines if this set is disjoint from another set. Two sets are disjoint if no item from one set is equal to any item in the other set.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool IsDisjointFrom(
	OrderedSet<T> otherSet
)

Parameters

otherSet
Type: X3Platform.CollectionsOrderedSetT
Set to check disjointness with.

Return Value

Type: Boolean
True if the two sets are disjoint, false otherwise.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis set and otherSet don't use the same method for comparing items.
Remarks

The answer is computed in time O(N log M), where M is the size of the larger set, and N is the size of the smaller set.

See Also