protected static class PrimitiveSparseArray.PrimitiveNode extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
m_lValue
The Node's value.
|
Constructor and Description |
---|
PrimitiveNode(long lKey, long lValue)
Construct a new Node mapping a long key to a long value.
|
Modifier and Type | Method and 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)
value
- the value associated with the nodepublic Long getValue()
public long setPrimitiveValue(long lValue)
lValue
- the long valuepublic long getPrimitiveValue()