pdk.util.Array

functions to operate with arrays

Functions


contains

Returns true if array contains the specified element.

Arguments:

  • array :: pdk.core.Array<T>

  • item :: T - element whose presence in this array is to be tested.

Result:

Possible exceptions


containsAll

Returns true if this array contains all of the elements of the specified array.

Arguments:

Result:

  • output :: pdk.core.Boolean - true if this array contains all of the elements of the specified array.

Possible exceptions


size

Returns the number of elements in the array.

Arguments:

Result:

Possible exceptions


subArray

Returns a view of the portion of the array between the specified fromIndex, inclusive, and toIndex, exclusive. (If fromIndex and toIndex are equal, the returned list is empty.).

Arguments:

Result:

Possible exceptions

Last updated