Class Hashtable.Entry

java.lang.Object
org.htmlunit.corejs.javascript.Hashtable.Entry
All Implemented Interfaces:
Serializable
Enclosing class:
Hashtable

public static final class Hashtable.Entry extends Object implements Serializable
One entry in the hash table. Override equals and hashcode because this is another area in which JavaScript and Java differ. This entry also becomes a node in the linked list.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • key

      public Object key()
    • value

      public Object value()
    • clear

      void clear()
      Zero out key and value and return old value.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object