Interface ProofEntryIndex<T>

Type Parameters:
T - the type of an element in this entry
All Superinterfaces:
EntryIndex<T>, HashableIndex, StorageIndex
All Known Implementing Classes:
ProofEntryIndexProxy

public interface ProofEntryIndex<T>
extends EntryIndex<T>, HashableIndex
A proof entry is a hashable variant of EntryIndex.
  • Method Details

    • getIndexHash

      HashCode getIndexHash()
      Returns the index hash which represents the complete state of this entry. Any modifications to this entry affect the index hash.

      The entry index hash is computed as SHA-256 of the entry binary representation, or a hash of zeroes if the entry is not set.

      Specified by:
      getIndexHash in interface HashableIndex
      Throws:
      java.lang.IllegalStateException - if the index is invalid