com.mchange.util.impl
Class IntObjectHash

java.lang.Object
  extended by com.mchange.util.impl.IntObjectHash
All Implemented Interfaces:
IntObjectMap

public class IntObjectHash
extends Object
implements IntObjectMap


Constructor Summary
IntObjectHash()
           
IntObjectHash(int init_capacity, float load_factor)
           
 
Method Summary
 void clear()
           
 boolean containsInt(int num)
           
 Object get(int num)
           
 int getSize()
           
 IntEnumeration ints()
           
 void put(int num, Object obj)
           
 boolean putNoReplace(int num, Object obj)
           
protected  void rehash()
           
 Object remove(int num)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntObjectHash

public IntObjectHash(int init_capacity,
                     float load_factor)

IntObjectHash

public IntObjectHash()
Method Detail

get

public Object get(int num)
Specified by:
get in interface IntObjectMap

put

public void put(int num,
                Object obj)
Specified by:
put in interface IntObjectMap

putNoReplace

public boolean putNoReplace(int num,
                            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 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()