protected static class PrimitiveSparseArray.PrimitiveNode extends AbstractSparseArray.Node<Long>
Modifier and Type | Field | Description |
---|---|---|
protected long |
m_lValue |
The Node's value.
|
Constructor | Description |
---|---|
PrimitiveNode(long lKey,
long lValue) |
Construct a new Node mapping a long key to a long value.
|
Modifier and Type | Method | Description |
---|---|---|
long |
getKey() |
Return the key
|
long |
getPrimitiveValue() |
Get the long value for the Node.
|
Long |
getValue() |
Get the value associated with the node.
|
long |
setPrimitiveValue(long lValue) |
Set the long value for the Node.
|
Long |
setValue(Long value) |
Set the value associated with the node.
|
public PrimitiveNode(long lKey, long lValue)
lKey
- the keylValue
- the long valuepublic long getKey()
public Long setValue(Long value)
setValue
in class AbstractSparseArray.Node<Long>
value
- the value associated with the nodepublic Long getValue()
getValue
in class AbstractSparseArray.Node<Long>
public long setPrimitiveValue(long lValue)
lValue
- the long valuepublic long getPrimitiveValue()