Class MerkleTree.TreeRange

All Implemented Interfaces:
Serializable, Comparable<Range<Token>>
Enclosing class:
MerkleTree

public static class MerkleTree.TreeRange extends Range<Token>
The public interface to a range in the tree. NB: A TreeRange should not be returned by a public method unless the parents of the range it represents are already invalidated, since it will allow someone to modify the hash. Alternatively, a TreeRange may be created with a null tree, indicating that it is read only.
See Also:
  • Field Details

    • depth

      public final int depth
  • Method Details