Class DoublyIndexedTable.Entry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int hash
      The hash code.
      protected java.lang.Object key1
      The first key.
      protected java.lang.Object key2
      The second key.
      protected DoublyIndexedTable.Entry next
      The next entry.
      protected java.lang.Object value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(int hash, java.lang.Object key1, java.lang.Object key2, java.lang.Object value, DoublyIndexedTable.Entry next)
      Creates a new entry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getKey1()
      Returns this entry's first key.
      java.lang.Object getKey2()
      Returns this entry's second key.
      java.lang.Object getValue()
      Returns this entry's value.
      protected boolean match​(java.lang.Object o1, java.lang.Object o2)
      Whether this entry match the given keys.
      • Methods inherited from class java.lang.Object

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

      • hash

        protected int hash
        The hash code.
      • key1

        protected java.lang.Object key1
        The first key.
      • key2

        protected java.lang.Object key2
        The second key.
      • value

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

      • Entry

        public Entry​(int hash,
                     java.lang.Object key1,
                     java.lang.Object key2,
                     java.lang.Object value,
                     DoublyIndexedTable.Entry next)
        Creates a new entry.
    • Method Detail

      • getKey1

        public java.lang.Object getKey1()
        Returns this entry's first key.
      • getKey2

        public java.lang.Object getKey2()
        Returns this entry's second key.
      • getValue

        public java.lang.Object getValue()
        Returns this entry's value.
      • match

        protected boolean match​(java.lang.Object o1,
                                java.lang.Object o2)
        Whether this entry match the given keys.