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 booleanisLeafprotected BigIntegerleftprotected VrfIntervalleftLeafprotected Stringpkprotected BigIntegerrightprotected VrfIntervalrightLeaf 
- 
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 intcompareTo(VrfInterval o)booleanequals(Object obj)inthashCode()StringtoString()StringtoStringNode() 
 - 
 
- 
- 
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:
 compareToin interfaceComparable<VrfInterval>
 
 - 
 
 -