pdk.util.Map

functions to operate with maps

Functions


size

Returns the number of key-value mappings in the map.

Arguments:

Result:

Possible exceptions


containsKey

Returns true if the map contains a mapping for the specified key. More formally, returns true if and only if this map contains a mapping for a key k such that (key==null ? k==null : key = k). (There can be at most one such mapping.).

Arguments:

Result:

Possible exceptions


get

Returns the value to which the specified key is mapped, or null if the map contains no mapping for the key.

Arguments:

Result:

  • output :: V

Possible exceptions


keys

Returns a Array view of the keys contained in the map.

Arguments:

Result:

Possible exceptions


values

Returns an array view of the values contained in the map.

Returns a Array view of the keys contained in the map.

Arguments:

Result:

Possible exceptions


entryArray

Returns an Array view of the mappings contained in the map.

Arguments:

Result:

Possible exceptions


isEmpty

Returns true if this map contains no key-value mappings.

Arguments:

Result:

Possible exceptions

Last updated