static class LongLongHashMap.MapElement
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
key
Stores the key.
|
private LongLongHashMap.MapElement |
next
Stores the next map element.
|
private long |
value
Stores the value.
|
| Constructor and Description |
|---|
MapElement(long key,
long value)
Constructor of a map element.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getKey()
Getter method for
key property. |
LongLongHashMap.MapElement |
getNext()
Getter method for
next property. |
long |
getValue()
Getter method for
value property. |
(package private) void |
setKey(long key)
Setter method for
key property. |
(package private) void |
setNext(LongLongHashMap.MapElement next)
Setter method for
next property. |
(package private) void |
setValue(long value)
Setter method for
value property. |
private long key
private long value
private LongLongHashMap.MapElement next
public MapElement(long key,
long value)
key - the hash key of the elementvalue - the value to be storedpublic long getKey()
key property.key propertyvoid setValue(long value)
value property.value - The value for the value propertyvoid setKey(long key)
key property.key - The value for the key propertypublic long getValue()
value property.value propertyvoid setNext(LongLongHashMap.MapElement next)
next property.next - The value for the next propertypublic LongLongHashMap.MapElement getNext()
next property.next property