OrderedSetTSymmetricDifferenceWith Method |
Computes the symmetric difference of this set with another set. The symmetric difference of two sets
is all items that appear in either of the sets, but not both. This set receives
the symmetric difference of the two sets; the other set is unchanged.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic void SymmetricDifferenceWith(
OrderedSet<T> otherSet
)
public:
void SymmetricDifferenceWith(
OrderedSet<T>^ otherSet
)
Parameters
- otherSet
- Type: X3Platform.CollectionsOrderedSetT
Set to symmetric difference with.
Exceptions
RemarksThe symmetric difference of two sets is computed in time O(M + N log M), where M is the size of the
larger set, and N is the size of the smaller set.
See Also