Class: TwoTupleMapEx

Kekule. TwoTupleMapEx

new TwoTupleMapEx()

A class to implement obj1, obj2 => obj mappings.
Source:

Methods

clear()

Clear all key and values in map.
Source:

finalize()

Free resources.
Source:

get(key1, key2, defaultValue) → {Variant}

Returns the value associated to the key object,
Parameters:
Name Type Description
key1 Variant
key2 Variant
defaultValue Variant Return this value if key does not exist.
Source:
Returns:
Type
Variant

has(key1, key2) → {Bool}

Check whether a value has been associated to the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
Source:
Returns:
Type
Bool

remove(key1, key2)

Removes any value associated to the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
Source:

set(key1, key2, value)

Set the value for the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
value Variant
Source:

Kekule. TwoTupleMapEx

new TwoTupleMapEx()

Source:

Methods

clear()

Clear all key and values in map.
Source:

finalize()

Free resources.
Source:

get(key1, key2, defaultValue) → {Variant}

Returns the value associated to the key object,
Parameters:
Name Type Description
key1 Variant
key2 Variant
defaultValue Variant Return this value if key does not exist.
Source:
Returns:
Type
Variant

has(key1, key2) → {Bool}

Check whether a value has been associated to the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
Source:
Returns:
Type
Bool

remove(key1, key2)

Removes any value associated to the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
Source:

set(key1, key2, value)

Set the value for the key object.
Parameters:
Name Type Description
key1 Variant
key2 Variant
value Variant
Source: