Class NonBlockingHashMap

java.lang.Object
java.util.AbstractMap
zombie.core.Collections.NonBlockingHashMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.concurrent.ConcurrentMap, java.util.Map

public class NonBlockingHashMap
extends java.util.AbstractMap
implements java.util.concurrent.ConcurrentMap, java.lang.Cloneable, java.io.Serializable
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.util.AbstractMap

    java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>

    Nested classes/interfaces inherited from interface java.util.Map

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

    Constructors
    Constructor Description
    NonBlockingHashMap()  
    NonBlockingHashMap​(int int1)  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    java.lang.Object clone()  
    boolean contains​(java.lang.Object object)  
    boolean containsKey​(java.lang.Object object)  
    boolean containsValue​(java.lang.Object object)  
    java.util.Enumeration elements()  
    java.util.Set entrySet()  
    java.lang.Object get​(java.lang.Object object)  
    protected void initialize()  
    boolean isEmpty()  
    java.util.Enumeration keys()  
    java.util.Set keySet()  
    void print()  
    java.lang.Object put​(java.lang.Object object, java.lang.Object object2)  
    void putAll​(java.util.Map map)  
    java.lang.Object putIfAbsent​(java.lang.Object object, java.lang.Object object2)  
    protected void rehash()  
    java.lang.Object remove​(java.lang.Object object)  
    boolean remove​(java.lang.Object object, java.lang.Object object2)  
    java.lang.Object replace​(java.lang.Object object, java.lang.Object object2)  
    boolean replace​(java.lang.Object object, java.lang.Object object2, java.lang.Object object3)  
    long reprobes()  
    int size()  
    java.lang.String toString()  
    java.util.Collection values()  

    Methods inherited from class java.util.AbstractMap

    equals, hashCode

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.concurrent.ConcurrentMap

    compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll

    Methods inherited from interface java.util.Map

    equals, hashCode
  • Constructor Details

    • NonBlockingHashMap

      public NonBlockingHashMap()
    • NonBlockingHashMap

      public NonBlockingHashMap​(int int1)
  • Method Details

    • print

      public final void print()
    • reprobes

      public long reprobes()
    • initialize

      protected final void initialize()
    • size

      public int size()
      Specified by:
      size in interface java.util.Map
      Overrides:
      size in class java.util.AbstractMap
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface java.util.Map
      Overrides:
      isEmpty in class java.util.AbstractMap
    • containsKey

      public boolean containsKey​(java.lang.Object object)
      Specified by:
      containsKey in interface java.util.Map
      Overrides:
      containsKey in class java.util.AbstractMap
    • contains

      public boolean contains​(java.lang.Object object)
    • put

      public java.lang.Object put​(java.lang.Object object, java.lang.Object object2)
      Specified by:
      put in interface java.util.Map
      Overrides:
      put in class java.util.AbstractMap
    • putIfAbsent

      public java.lang.Object putIfAbsent​(java.lang.Object object, java.lang.Object object2)
      Specified by:
      putIfAbsent in interface java.util.concurrent.ConcurrentMap
      Specified by:
      putIfAbsent in interface java.util.Map
    • remove

      public java.lang.Object remove​(java.lang.Object object)
      Specified by:
      remove in interface java.util.Map
      Overrides:
      remove in class java.util.AbstractMap
    • remove

      public boolean remove​(java.lang.Object object, java.lang.Object object2)
      Specified by:
      remove in interface java.util.concurrent.ConcurrentMap
      Specified by:
      remove in interface java.util.Map
    • replace

      public java.lang.Object replace​(java.lang.Object object, java.lang.Object object2)
      Specified by:
      replace in interface java.util.concurrent.ConcurrentMap
      Specified by:
      replace in interface java.util.Map
    • replace

      public boolean replace​(java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
      Specified by:
      replace in interface java.util.concurrent.ConcurrentMap
      Specified by:
      replace in interface java.util.Map
    • putAll

      public void putAll​(java.util.Map map)
      Specified by:
      putAll in interface java.util.Map
      Overrides:
      putAll in class java.util.AbstractMap
    • clear

      public void clear()
      Specified by:
      clear in interface java.util.Map
      Overrides:
      clear in class java.util.AbstractMap
    • containsValue

      public boolean containsValue​(java.lang.Object object)
      Specified by:
      containsValue in interface java.util.Map
      Overrides:
      containsValue in class java.util.AbstractMap
    • rehash

      protected void rehash()
    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class java.util.AbstractMap
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.util.AbstractMap
    • get

      public java.lang.Object get​(java.lang.Object object)
      Specified by:
      get in interface java.util.Map
      Overrides:
      get in class java.util.AbstractMap
    • elements

      public java.util.Enumeration elements()
    • values

      public java.util.Collection values()
      Specified by:
      values in interface java.util.Map
      Overrides:
      values in class java.util.AbstractMap
    • keys

      public java.util.Enumeration keys()
    • keySet

      public java.util.Set keySet()
      Specified by:
      keySet in interface java.util.Map
      Overrides:
      keySet in class java.util.AbstractMap
    • entrySet

      public java.util.Set entrySet()
      Specified by:
      entrySet in interface java.util.Map
      Specified by:
      entrySet in class java.util.AbstractMap