Package com.mchange.util.impl
Class IntObjectHash
java.lang.Object
com.mchange.util.impl.IntObjectHash
- All Implemented Interfaces:
IntObjectMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsInt
(int num) get
(int num) int
getSize()
ints()
void
boolean
putNoReplace
(int num, Object obj) protected void
rehash()
remove
(int num)
-
Constructor Details
-
IntObjectHash
public IntObjectHash(int init_capacity, float load_factor) -
IntObjectHash
public IntObjectHash()
-
-
Method Details
-
get
- Specified by:
get
in interfaceIntObjectMap
-
put
- Specified by:
put
in interfaceIntObjectMap
-
putNoReplace
- Specified by:
putNoReplace
in interfaceIntObjectMap
-
getSize
public int getSize()- Specified by:
getSize
in interfaceIntObjectMap
-
containsInt
public boolean containsInt(int num) - Specified by:
containsInt
in interfaceIntObjectMap
-
remove
- Specified by:
remove
in interfaceIntObjectMap
-
clear
public void clear()- Specified by:
clear
in interfaceIntObjectMap
-
ints
- Specified by:
ints
in interfaceIntObjectMap
-
rehash
protected void rehash()
-