Product Site

5.3.20. Concept of Set Operations

The following sections describe the concept of set operations to help you work with set operators, in particular if the receiver collection class differs from the argument collection class.

Rexx provides the following set-operator methods:

These methods are available to instances of the following collection classes:
result = receiver~setoperator(argument)

where:
receiver

is the collection object receiving the set-operator message.
setoperator

is the set-operator method used.
argument

is the argument collection supplier supplied to the method. It can be an instance of one of the Rexx collection classes or any object that implements a makearray method or supplier method, depending on class of receiver.

The result object is of the same class as the receiver collection object.