com.mchange.util.impl
Class LongObjectHash
java.lang.Object
com.mchange.util.impl.LongObjectHash
- All Implemented Interfaces:
- LongObjectMap
public class LongObjectHash
- extends Object
- implements LongObjectMap
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongObjectHash
public LongObjectHash(int init_capacity,
float load_factor)
LongObjectHash
public LongObjectHash()
get
public Object get(long num)
- Specified by:
get
in interface LongObjectMap
put
public void put(long num,
Object obj)
- Specified by:
put
in interface LongObjectMap
putNoReplace
public boolean putNoReplace(long num,
Object obj)
- Specified by:
putNoReplace
in interface LongObjectMap
getSize
public long getSize()
- Specified by:
getSize
in interface LongObjectMap
containsLong
public boolean containsLong(long num)
- Specified by:
containsLong
in interface LongObjectMap
remove
public Object remove(long num)
- Specified by:
remove
in interface LongObjectMap
rehash
protected void rehash()