Class NonBlockingHashtable

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

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

    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
    NonBlockingHashtable()  
    NonBlockingHashtable​(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.lang.Object

    equals, finalize, getClass, hashCode, 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

    • NonBlockingHashtable

      public NonBlockingHashtable()
    • NonBlockingHashtable

      public NonBlockingHashtable​(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
      Specified by:
      size in class java.util.Dictionary
    • isEmpty

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

      public boolean containsKey​(java.lang.Object object)
      Specified by:
      containsKey in interface java.util.Map
    • 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
      Specified by:
      put in class java.util.Dictionary
    • 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
      Specified by:
      remove in class java.util.Dictionary
    • 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
    • clear

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

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

      protected void rehash()
    • clone

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

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

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

      public java.util.Enumeration elements()
      Specified by:
      elements in class java.util.Dictionary
    • values

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

      public java.util.Enumeration keys()
      Specified by:
      keys in class java.util.Dictionary
    • keySet

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

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