Class VrfInterval
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.vrf.tree.VrfInterval
-
- All Implemented Interfaces:
Serializable
,Comparable<VrfInterval>
public class VrfInterval extends Object implements Serializable, Comparable<VrfInterval>
- Author:
- giovanni.antino@h2tcoin.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isLeaf
protected BigInteger
left
protected VrfInterval
leftLeaf
protected String
pk
protected BigInteger
right
protected VrfInterval
rightLeaf
-
Constructor Summary
Constructors Constructor Description VrfInterval(BigInteger left, BigInteger right, VrfInterval leftLeaf, VrfInterval rightLeaf)
VrfInterval(BigInteger left, BigInteger right, String pk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VrfInterval o)
boolean
equals(Object obj)
int
hashCode()
String
toString()
String
toStringNode()
-
-
-
Field Detail
-
left
protected BigInteger left
-
right
protected BigInteger right
-
pk
protected String pk
-
isLeaf
protected boolean isLeaf
-
leftLeaf
protected VrfInterval leftLeaf
-
rightLeaf
protected VrfInterval rightLeaf
-
-
Constructor Detail
-
VrfInterval
public VrfInterval(BigInteger left, BigInteger right, String pk)
-
VrfInterval
public VrfInterval(BigInteger left, BigInteger right, VrfInterval leftLeaf, VrfInterval rightLeaf)
-
-
Method Detail
-
toStringNode
public String toStringNode()
-
compareTo
public int compareTo(VrfInterval o)
- Specified by:
compareTo
in interfaceComparable<VrfInterval>
-
-