Package com.mchange.util.impl
Class IntObjectHash
java.lang.Object
com.mchange.util.impl.IntObjectHash
- All Implemented Interfaces:
IntObjectMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsInt(int num) get(int num) intgetSize()ints()voidbooleanputNoReplace(int num, Object obj) protected voidrehash()remove(int num)
-
Constructor Details
-
IntObjectHash
public IntObjectHash(int init_capacity, float load_factor) -
IntObjectHash
public IntObjectHash()
-
-
Method Details
-
get
- Specified by:
getin interfaceIntObjectMap
-
put
- Specified by:
putin interfaceIntObjectMap
-
putNoReplace
- Specified by:
putNoReplacein interfaceIntObjectMap
-
getSize
public int getSize()- Specified by:
getSizein interfaceIntObjectMap
-
containsInt
public boolean containsInt(int num) - Specified by:
containsIntin interfaceIntObjectMap
-
remove
- Specified by:
removein interfaceIntObjectMap
-
clear
public void clear()- Specified by:
clearin interfaceIntObjectMap
-
ints
- Specified by:
intsin interfaceIntObjectMap
-
rehash
protected void rehash()
-