adaptj.util
Class IntToIntHashMap

java.lang.Object
  |
  +--adaptj.util.IntToIntHashMap

public class IntToIntHashMap
extends java.lang.Object


Nested Class Summary
(package private)  class IntToIntHashMap.IntToIntHashMapEntry
           
 
Field Summary
static double DEFAULT_LOAD_FACTOR
           
static int DEFAULT_SIZE
           
 
Constructor Summary
IntToIntHashMap()
           
IntToIntHashMap(double loadFactor)
           
IntToIntHashMap(int size)
           
IntToIntHashMap(int size, double loadFactor)
           
IntToIntHashMap(int size, double loadFactor, int defaultValue)
           
 
Method Summary
 void clear()
           
 java.lang.Object clone()
           
 boolean containsKey(int key)
           
 boolean containsValue(int value)
           
 int get(int key)
           
 int getDefaultValue()
           
 boolean isEmpty()
           
 int put(int key, int value)
           
 int remove(int key)
           
 void setDefaultValue(int value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SIZE

public static final int DEFAULT_SIZE
See Also:
Constant Field Values

DEFAULT_LOAD_FACTOR

public static final double DEFAULT_LOAD_FACTOR
See Also:
Constant Field Values
Constructor Detail

IntToIntHashMap

public IntToIntHashMap()

IntToIntHashMap

public IntToIntHashMap(int size)

IntToIntHashMap

public IntToIntHashMap(double loadFactor)

IntToIntHashMap

public IntToIntHashMap(int size,
                       double loadFactor)

IntToIntHashMap

public IntToIntHashMap(int size,
                       double loadFactor,
                       int defaultValue)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getDefaultValue

public int getDefaultValue()

setDefaultValue

public void setDefaultValue(int value)

containsKey

public boolean containsKey(int key)

containsValue

public boolean containsValue(int value)

get

public int get(int key)

put

public int put(int key,
               int value)

remove

public int remove(int key)

isEmpty

public boolean isEmpty()

size

public int size()

clear

public void clear()