org.ontobox.fast.util.primitive.impl.trove
Class TroveIntObjectMap<T>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TroveIntObjectMap
public TroveIntObjectMap(int size)
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>