org.ontobox.fast.util.primitive.impl.trove
Class TroveIntObjectMap<T>

java.lang.Object
  extended by org.ontobox.fast.util.primitive.impl.trove.TroveIntObjectMap<T>
All Implemented Interfaces:
IntObjectMap<T>

public class TroveIntObjectMap<T>
extends java.lang.Object
implements IntObjectMap<T>

Author:
Anton Malykh

Constructor Summary
TroveIntObjectMap(int size)
           
 
Method Summary
 void clear()
           
 boolean containsKey(int key)
           
 boolean forEachEntry(IntObjectProcessor<T> processor)
           
 boolean forEachValue(ObjectProcessor<T> processor)
           
 T get(int key)
           
 boolean isEmpty()
           
 int[] keys()
           
 void put(int key, T value)
           
 void removeKey(int key)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TroveIntObjectMap

public TroveIntObjectMap(int size)
Method Detail

clear

public final void clear()
Specified by:
clear in interface IntObjectMap<T>

containsKey

public boolean containsKey(int key)
Specified by:
containsKey in interface IntObjectMap<T>

get

public final T get(int key)
Specified by:
get in interface IntObjectMap<T>

removeKey

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

put

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

size

public final int size()
Specified by:
size in interface IntObjectMap<T>

isEmpty

public final boolean isEmpty()
Specified by:
isEmpty in interface IntObjectMap<T>

forEachEntry

public final boolean forEachEntry(IntObjectProcessor<T> processor)
Specified by:
forEachEntry in interface IntObjectMap<T>

forEachValue

public final boolean forEachValue(ObjectProcessor<T> processor)
Specified by:
forEachValue in interface IntObjectMap<T>

keys

public final int[] keys()
Specified by:
keys in interface IntObjectMap<T>