Class StringMap.Entry

  • Enclosing class:
    StringMap

    protected static class StringMap.Entry
    extends java.lang.Object
    To manage collisions
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int hash
      The hash code
      java.lang.String key
      The key
      StringMap.Entry next
      The next entry
      java.lang.Object value
      The value
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(int hash, java.lang.String key, java.lang.Object value, StringMap.Entry next)
      Creates a new entry
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • hash

        public int hash
        The hash code
      • key

        public java.lang.String key
        The key
      • value

        public java.lang.Object value
        The value
    • Constructor Detail

      • Entry

        public Entry​(int hash,
                     java.lang.String key,
                     java.lang.Object value,
                     StringMap.Entry next)
        Creates a new entry