public interface SimpleMap<K,V extends ByteSerializable>
Modifier and Type | Method and Description |
---|---|
V |
get(K key)
Retrieves an item from this data structure.
|
void |
put(V item)
Places an item in this data structure.
|
int |
size()
Reports the current size of the data structure.
|
java.util.Collection<V> |
values()
Retrieves all the values contained in this data structure.
|
void put(V item)
V get(K key)
key
- Key of the item to retrieve; for instance, the item's name.java.util.Collection<V> values()
int size()