Switch to: V10V9V8V7V6V5

VArraySet Class: Set Operation Methods

VArraySet.Union()

Declaration:

Union( inRightSet as VArraySet ) as VArraySet

Parameters:

  • inRightSet - The set to be used in the operation.

Description:

Executes a union of this set with the inRightSet set. As a result there is this set. Such an operation is said to be “in place”.

Note: Both sets must be of the same type (BitSet or ArraySet).

Example:

s1.Union( s2 )

VArraySet.Intersection()

Declaration:

Intersection( inRightSet as VArraySet ) as VArraySet

Parameters:

  • inRightSet8 - The set to be used in the operation.

Description:

Executes an Intersection of this set with the inRightSet. The result becomes this set. Such an operation is said to be “in place”.

Note: Both sets must be of the same type (BitSet or ArraySet).

Example:

s1.Intersection( s2 )

VArraySet.Difference()

Declaration:

Difference( inRightSet as VArraySet ) as VArraySet

Parameters:

  • inRightSet - The set to be used in the operation.

Description:

Executes the difference of this set with the inRightSet. The result becomes this set. Such an operation is said to be be “in place”.

Note: Both sets must be of the same type (BitSet or ArraySet).

Example:

s1.Difference( s2 )

VArraySet.SymmetricDifference()

Declaration:

SymmetricDifference( inRightSet as VArraySet ) as VArraySet

Parameters:

  • inRightSet - The set to be used in the operation.

Description:

Executes the SymmetricDifference of this set with the inRightSet. The result becomes this set. Such operation is said to be “in place”.

Note: Both sets must be of the same type (BitSet or ArraySet).

Example:

s1.SymmetricDifference( s2 )