|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.util.SmallNumberedMap
A java.util.Map-like map with Numberable objects as the keys.
Constructor Summary | |
SmallNumberedMap(ArrayNumberer universe)
|
Method Summary | |
Object |
get(Numberable key)
Returns the value associated with a given key. |
Iterator |
iterator()
Returns an iterator over the non-null values. |
Iterator |
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,
Object value)
Associates a value with a key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SmallNumberedMap(ArrayNumberer universe)
Method Detail |
public boolean put(Numberable key, Object value)
public Object get(Numberable key)
public int nonNullSize()
public Iterator keyIterator()
public Iterator iterator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |