|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.pfl.basic.contain.DenseIntMapImpl<E>
public class DenseIntMapImpl<E>
Utility for managing mappings from densely allocated integer keys to arbitrary objects. This should only be used for keys in the range 0..max such that "most" of the key space is actually used.
| Constructor Summary | |
|---|---|
DenseIntMapImpl()
|
|
| Method Summary | |
|---|---|
E |
get(int key)
If key >= 0, return the value bound to key, or null if none. |
void |
set(int key,
E value)
If key >= 0, bind value to the key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DenseIntMapImpl()
| Method Detail |
|---|
public E get(int key)
get in interface IntMap<E>
public void set(int key,
E value)
set in interface IntMap<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||