org.ontobox.fast.util.primitive.impl.standard
Class StdObjectIntMap<T>

java.lang.Object
  extended by org.ontobox.fast.util.primitive.impl.standard.StdObjectIntMap<T>
All Implemented Interfaces:
ObjectIntMap<T>

public class StdObjectIntMap<T>
extends java.lang.Object
implements ObjectIntMap<T>

Author:
Anton Malykh

Constructor Summary
StdObjectIntMap(int size)
           
 
Method Summary
 boolean containsKey(T key)
           
 boolean forEachKey(ObjectProcessor<T> processor)
           
 java.lang.Integer get(T name)
           
 void put(T key, int value)
           
 void removeKey(T key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdObjectIntMap

public StdObjectIntMap(int size)
Method Detail

get

public final java.lang.Integer get(T name)
Specified by:
get in interface ObjectIntMap<T>

containsKey

public final boolean containsKey(T key)
Specified by:
containsKey in interface ObjectIntMap<T>

removeKey

public final void removeKey(T key)
Specified by:
removeKey in interface ObjectIntMap<T>

put

public final void put(T key,
                      int value)
Specified by:
put in interface ObjectIntMap<T>

forEachKey

public final boolean forEachKey(ObjectProcessor<T> processor)
Specified by:
forEachKey in interface ObjectIntMap<T>