Class ValueSetIndexProxy.Entry<E>

java.lang.Object
com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry<E>
Enclosing class:
ValueSetIndexProxy<E>

public abstract static class ValueSetIndexProxy.Entry<E>
extends 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 Details

  • Method Details

    • getHash

      public abstract 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 Object