public final class SmallNumberedMap<T>
extends java.lang.Object
Constructor and Description |
---|
SmallNumberedMap() |
Modifier and Type | Method and Description |
---|---|
T |
get(Numberable key)
Returns the value associated with a given key.
|
java.util.Iterator<T> |
iterator()
Returns an iterator over the non-null values.
|
java.util.Iterator<Numberable> |
keyIterator()
Returns an iterator over the keys with non-null values.
|
int |
nonNullSize()
Returns the number of non-null values in this map.
|
boolean |
put(Numberable key,
T value)
Associates a value with a key.
|
public boolean put(Numberable key, T value)
public T get(Numberable key)
public int nonNullSize()
public java.util.Iterator<Numberable> keyIterator()
public java.util.Iterator<T> iterator()