Package com.jme3.util
Class IntMap<T>
java.lang.Object
com.jme3.util.IntMap<T>
- All Implemented Interfaces:
- JmeCloneable,- Cloneable,- Iterable<IntMap.Entry<T>>
public final class IntMap<T>
extends Object
implements Iterable<IntMap.Entry<T>>, Cloneable, JmeCloneable
Similar to a 
Map except that ints are used as keys.
 Taken from http://code.google.com/p/skorpios/- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()clone()voidcloneFields(Cloner cloner, Object original) Called internally by com.jme3.util.clone.Cloner.booleancontainsKey(int key) booleancontainsValue(Object value) get(int key) iterator()jmeClone()Called internally by com.jme3.util.clone.Cloner.remove(int key) intsize()Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
IntMappublic IntMap()
- 
IntMappublic IntMap(int initialCapacity) 
- 
IntMappublic IntMap(int initialCapacity, float loadFactor) 
 
- 
- 
Method Details- 
clone
- 
jmeCloneCalled internally by com.jme3.util.clone.Cloner. Do not call directly.- Specified by:
- jmeClonein interface- JmeCloneable
- Returns:
- a new instance
 
- 
cloneFieldsCalled internally by com.jme3.util.clone.Cloner. Do not call directly.- Specified by:
- cloneFieldsin interface- JmeCloneable
- Parameters:
- 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.
 
- 
containsValue
- 
containsKeypublic boolean containsKey(int key) 
- 
get
- 
put
- 
remove
- 
sizepublic int size()
- 
clearpublic void clear()
- 
iterator
 
-