org.hsqldb.lib
Class IntValueHashMap

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

public class IntValueHashMap
extends BaseHashMap

This class does not store null keys.

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
IntValueHashMap()
           
IntValueHashMap(int initialCapacity)
           
IntValueHashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 boolean containsKey(Object key)
           
 boolean containsValue(int value)
           
 int get(Object key)
           
 int get(Object key, int defaultValue)
           
 boolean get(Object key, int[] value)
           
 Set keySet()
           
 boolean put(Object key, int value)
           
 boolean remove(Object key)
           
 
Methods inherited from class org.hsqldb.store.BaseHashMap
addOrRemove, clear, clear, 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

IntValueHashMap

public IntValueHashMap()

IntValueHashMap

public IntValueHashMap(int initialCapacity)
                throws IllegalArgumentException

IntValueHashMap

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

get

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

get

public int get(Object key,
               int defaultValue)

get

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

put

public boolean put(Object key,
                   int value)

remove

public boolean remove(Object key)

containsKey

public boolean containsKey(Object key)
Overrides:
containsKey in class BaseHashMap

containsValue

public boolean containsValue(int value)

keySet

public Set keySet()


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