org.ontobox.fast.util.primitive.impl.standard
Class StdLongObjectMap<T>
java.lang.Object
org.ontobox.fast.util.primitive.impl.standard.StdLongObjectMap<T>
- All Implemented Interfaces:
- LongObjectMap<T>
public class StdLongObjectMap<T>
- extends java.lang.Object
- implements LongObjectMap<T>
- Author:
- Anton Malykh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdLongObjectMap
public StdLongObjectMap(int size)
clear
public final void clear()
- Specified by:
clear
in interface LongObjectMap<T>
get
public final T get(long key)
- Specified by:
get
in interface LongObjectMap<T>
removeKey
public final void removeKey(long key)
- Specified by:
removeKey
in interface LongObjectMap<T>
put
public final void put(long key,
T value)
- Specified by:
put
in interface LongObjectMap<T>
size
public final int size()
- Specified by:
size
in interface LongObjectMap<T>
isEmpty
public final boolean isEmpty()
- Specified by:
isEmpty
in interface LongObjectMap<T>
forEachEntry
public final boolean forEachEntry(LongObjectProcessor<T> processor)
- Specified by:
forEachEntry
in interface LongObjectMap<T>
forEachValue
public final boolean forEachValue(ObjectProcessor<T> processor)
- Specified by:
forEachValue
in interface LongObjectMap<T>
keys
public final long[] keys()
- Specified by:
keys
in interface LongObjectMap<T>