Class ValueSetIndexProxy.Entry<E>

  • Enclosing class:
    ValueSetIndexProxy<E>

    public abstract static class ValueSetIndexProxy.Entry<E>
    extends java.lang.Object
    An entry of a value set index: a hash-value pair.

    An entry contains a copy of the data in the value set index. It does not reflect the changes made to the index since this entry had been created.

    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract com.exonum.binding.common.hash.HashCode getHash()
      Returns a hash of the element of the set.
      abstract E getValue()
      Returns an element of the set.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Entry

        public Entry()
    • Method Detail

      • getHash

        public abstract com.exonum.binding.common.hash.HashCode getHash()
        Returns a hash of the element of the set.
      • getValue

        public abstract E getValue()
        Returns an element of the set.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object