Package 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
-
-
Constructor Summary
Constructors Constructor Description IntObjectHash()
IntObjectHash(int init_capacity, float load_factor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsInt(int num)
java.lang.Object
get(int num)
int
getSize()
IntEnumeration
ints()
void
put(int num, java.lang.Object obj)
boolean
putNoReplace(int num, java.lang.Object obj)
protected void
rehash()
java.lang.Object
remove(int num)
-
-
-
Method Detail
-
get
public java.lang.Object get(int num)
- Specified by:
get
in interfaceIntObjectMap
-
put
public void put(int num, java.lang.Object obj)
- Specified by:
put
in interfaceIntObjectMap
-
putNoReplace
public boolean putNoReplace(int num, java.lang.Object obj)
- 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
public java.lang.Object remove(int num)
- Specified by:
remove
in interfaceIntObjectMap
-
clear
public void clear()
- Specified by:
clear
in interfaceIntObjectMap
-
ints
public IntEnumeration ints()
- Specified by:
ints
in interfaceIntObjectMap
-
rehash
protected void rehash()
-
-