Class LongValueHashMap<K>

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

public class LongValueHashMap<K> extends Object
A Map of Object keys to long primitives.

This class does not store null keys.

Since:
1.9.0
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

    • get

      public long get(Object key) throws NoSuchElementException
      Throws:
      NoSuchElementException
    • get

      public long get(Object key, int defaultValue)
    • get

      public boolean get(Object key, long[] value)
    • getKey

      public Object getKey(long value)
    • put

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

      public boolean remove(Object key)
    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(long value)
    • putAll

      public void putAll(LongValueHashMap<K> t)
    • keySet

      public Set<K> keySet()
    • values

      public Collection<Long> values()
    • entrySet

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

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

      public int size()
    • isEmpty

      public boolean isEmpty()
    • clone

      public org.hsqldb.map.BaseHashMap clone()