set

fun set(vararg elements: A_BasicObject): A_Set

Create an Avail set with the specified elements. The elements are not made immutable first, nor is the new set.

Return

The new mutable set.

Parameters

elements

The array of Avail values from which to construct a set.


fun set(vararg errorCodeElements: AvailErrorCode): A_Set

Create an Avail set with the numeric values of the specified error codes. The numeric codes (Avail integers) are not made immutable first, nor is the new set.

Return

The new mutable set.

Parameters

errorCodeElements

The array of AvailErrorCodes from which to construct a set.