gov.sandia.cognition.collection
Interface ScalarMap.Entry<KeyType>

Type Parameters:
KeyType - The type of key in the map.
All Known Subinterfaces:
InfiniteVector.Entry<KeyType>
All Known Implementing Classes:
AbstractMutableDoubleMap.SimpleEntry
Enclosing interface:
ScalarMap<KeyType>

public static interface ScalarMap.Entry<KeyType>

An entry in a scalar map. Similar to a Map.Entry.

See Also:
Map.Entry

Method Summary
 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.
 

Method Detail

getKey

KeyType getKey()
Gets the key.

Returns:
The key.

getValue

double getValue()
Gets the value associated with the key.

Returns:
The value.

setValue

void setValue(double value)
Sets the value associated with the key. Optional operation.

Parameters:
value - The value.