KeyType - The type of the key in the map.protected static class AbstractLogNumberMap.SimpleEntry<KeyType> extends java.lang.Object implements ScalarMap.Entry<KeyType>, InfiniteVector.Entry<KeyType>
| Modifier and Type | Field and Description |
|---|---|
protected KeyType |
key
Key associated with this entry
|
protected LogNumber |
value
Value associated with the entry
|
| Constructor and Description |
|---|
SimpleEntry(KeyType key,
LogNumber value)
Creates a new instance of SimpleEntry
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
getKey()
Gets the key.
|
double |
getValue()
Gets the value associated with the key.
|
void |
setValue(double value)
Sets the value associated with the key.
|
protected KeyType key
protected LogNumber value
public KeyType getKey()
ScalarMap.EntrygetKey in interface ScalarMap.Entry<KeyType>public double getValue()
ScalarMap.EntrygetValue in interface ScalarMap.Entry<KeyType>getValue in interface VectorSpace.Entrypublic void setValue(double value)
ScalarMap.EntrysetValue in interface ScalarMap.Entry<KeyType>setValue in interface VectorSpace.Entryvalue - The value.