public final class IntMap<T> extends java.lang.Object implements java.lang.Iterable<IntMap.Entry<T>>, java.lang.Cloneable, JmeCloneable
Map
except that ints are used as keys.
Taken from http://code.google.com/p/skorpios/Modifier and Type | Class and Description |
---|---|
static class |
IntMap.Entry<T> |
Constructor and Description |
---|
IntMap() |
IntMap(int initialCapacity) |
IntMap(int initialCapacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
IntMap<T> |
clone() |
void |
cloneFields(Cloner cloner,
java.lang.Object original)
Called internally by com.jme3.util.clone.Cloner.
|
boolean |
containsKey(int key) |
boolean |
containsValue(java.lang.Object value) |
T |
get(int key) |
java.util.Iterator<IntMap.Entry<T>> |
iterator() |
java.lang.Object |
jmeClone()
Called internally by com.jme3.util.clone.Cloner.
|
T |
put(int key,
T value) |
T |
remove(int key) |
int |
size() |
public IntMap()
public IntMap(int initialCapacity)
public IntMap(int initialCapacity, float loadFactor)
public java.lang.Object jmeClone()
jmeClone
in interface JmeCloneable
public void cloneFields(Cloner cloner, java.lang.Object original)
cloneFields
in interface JmeCloneable
cloner
- The cloner that is performing the cloning operation. The
cloneFields method can call back into the cloner to make
clones of its subordinate fields.original
- The original object from which this object was cloned.
This is provided for the very rare case that this object needs
to refer to its original for some reason. In general, all of
the relevant values should have been transferred during the
shallow clone, and this object need only clone what it wants.public boolean containsValue(java.lang.Object value)
public boolean containsKey(int key)
public T get(int key)
public T remove(int key)
public int size()
public void clear()
public java.util.Iterator<IntMap.Entry<T>> iterator()
iterator
in interface java.lang.Iterable<IntMap.Entry<T>>