public final class Priority extends NativeObjectContainer
Constructor and Description |
---|
Priority()
Creates the object with an empty native object instance.
|
Modifier and Type | Method and Description |
---|---|
int |
get(Key nodeKey)
Returns the stored value in the map, by its key of the node.
|
int |
get(String nodeKey)
Returns the stored value in the map, by its key of the node.
|
boolean |
isConsistent()
Returns
true if there is at least a key, stored in the map. |
void |
set(Key nodeKey,
int value)
Sets a value in the map, by its key of the node.
|
void |
set(String nodeKey,
int value)
Sets a value in the map, by its key of the node.
|
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public Priority()
public boolean isConsistent()
true
if there is at least a key, stored in the map.true
if there is at least a key, stored in the mappublic void set(String nodeKey, int value)
nodeKey
- the key of sankey nodevalue
- the value to assign to the node.public void set(Key nodeKey, int value)
nodeKey
- the key of sankey nodevalue
- the value to assign to the node.public int get(String nodeKey)
nodeKey
- the key of sankey nodepublic int get(Key nodeKey)
nodeKey
- the key of sankey node