Class LongHashTable<V>

  • Type Parameters:
    V - The type of the values of the map.
    All Implemented Interfaces:
    java.util.Map<java.lang.Long,​V>

    public class LongHashTable<V>
    extends LongHashMap<V>
    implements java.util.Map<java.lang.Long,​V>
    A subclass of LongHashMap that implements Map the interface.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  LongHashTable.LongEntry<V>  
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(java.lang.Object key)  
      boolean containsValue​(java.lang.Object value)  
      java.util.Set<java.util.Map.Entry<java.lang.Long,​V>> entrySet()  
      V get​(java.lang.Object key)  
      java.util.Set<java.lang.Long> keySet()  
      V put​(java.lang.Long key, V value)  
      void putAll​(java.util.Map<? extends java.lang.Long,​? extends V> map)  
      V remove​(java.lang.Object key)  
      java.util.Collection<V> values()  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, size
    • Constructor Detail

      • LongHashTable

        public LongHashTable​(int capacity,
                             float loadFactor)
      • LongHashTable

        public LongHashTable​(int capacity)
      • LongHashTable

        public LongHashTable()
    • Method Detail

      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<java.lang.Long,​V>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<java.lang.Long,​V>
      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.Long,​V>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<java.lang.Long,​V>
      • get

        public V get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<java.lang.Long,​V>
      • keySet

        public java.util.Set<java.lang.Long> keySet()
        Specified by:
        keySet in interface java.util.Map<java.lang.Long,​V>
      • put

        public V put​(java.lang.Long key,
                     V value)
        Specified by:
        put in interface java.util.Map<java.lang.Long,​V>
      • putAll

        public void putAll​(java.util.Map<? extends java.lang.Long,​? extends V> map)
        Specified by:
        putAll in interface java.util.Map<java.lang.Long,​V>
      • remove

        public V remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<java.lang.Long,​V>
      • values

        public java.util.Collection<V> values()
        Specified by:
        values in interface java.util.Map<java.lang.Long,​V>