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