Class IntValueHashMap<K>

java.lang.Object
org.hsqldb.lib.IntValueHashMap<K>

public class IntValueHashMap<K> extends Object
A Map of Object keys to int primitive values.

This class does not store null keys.

Since:
1.7.2
Author:
Fred Toussi (fredt@users dot sourceforge.net)
  • Field Details

    • ACCESS_MAX

      public static final int ACCESS_MAX
      See Also:
    • emptyObjectArray

      public static final Object[] emptyObjectArray
  • Constructor Details

  • Method Details

    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(Object value)
    • containsValue

      public boolean containsValue(int value)
    • 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)
    • getKey

      public Object getKey(int value)
    • put

      public boolean put(K key, int value)
    • remove

      public boolean remove(Object key)
    • putAll

      public void putAll(IntValueHashMap<K> other)
    • keySet

      public Set<K> keySet()
    • values

      public Collection<Integer> values()
    • entrySet

      public Set<Map.Entry<K,Integer>> entrySet()
    • clear

      public void clear()
      Clear the map completely.
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • clone

      public org.hsqldb.map.BaseHashMap clone()