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 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

    Modifier and Type Method Description
    abstract 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 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 java.lang.Object