org.hsqldb.lib
Class IntKeyIntValueHashMap

java.lang.Object
  extended byorg.hsqldb.store.BaseHashMap
      extended byorg.hsqldb.lib.IntKeyIntValueHashMap

public class IntKeyIntValueHashMap
extends BaseHashMap

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Nested Class Summary
 
Nested classes inherited from class org.hsqldb.store.BaseHashMap
BaseHashMap.BaseHashIterator
 
Field Summary
 
Fields inherited from class org.hsqldb.store.BaseHashMap
hashIndex, intKeyOrValue, intKeyTable, intValueTable, longKeyOrValue, longKeyTable, longValueTable, NO_PURGE, noKeyOrValue, objectKeyOrValue, objectKeyTable, objectValueTable, PURGE_ALL, PURGE_HALF, PURGE_QUARTER, purgePolicy
 
Constructor Summary
IntKeyIntValueHashMap()
           
IntKeyIntValueHashMap(int initialCapacity)
           
IntKeyIntValueHashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 int get(int key)
           
 int get(int key, int defaultValue)
           
 boolean get(int key, int[] value)
           
 Set keySet()
           
 boolean put(int key, int value)
           
 boolean remove(int key)
           
 Collection values()
           
 
Methods inherited from class org.hsqldb.store.BaseHashMap
addOrRemove, clear, clear, containsKey, containsKey, containsKey, containsValue, getLookup, getLookup, getLookup, getObject, getObject, getObject, isEmpty, rehash, removeLookup, removeObject, removeRow, reset, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntKeyIntValueHashMap

public IntKeyIntValueHashMap()

IntKeyIntValueHashMap

public IntKeyIntValueHashMap(int initialCapacity)
                      throws IllegalArgumentException

IntKeyIntValueHashMap

public IntKeyIntValueHashMap(int initialCapacity,
                             float loadFactor)
                      throws IllegalArgumentException
Method Detail

get

public int get(int key)
        throws NoSuchElementException
Throws:
NoSuchElementException

get

public int get(int key,
               int defaultValue)

get

public boolean get(int key,
                   int[] value)

put

public boolean put(int key,
                   int value)

remove

public boolean remove(int key)

keySet

public Set keySet()

values

public Collection values()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.