Package com.casper.sdk.model.status
Class AvailableBlockRange
- java.lang.Object
-
- com.casper.sdk.model.status.AvailableBlockRange
-
public class AvailableBlockRange extends java.lang.ObjectAn unbroken, inclusive range of blocks
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAvailableBlockRange.AvailableBlockRangeBuilder
-
Constructor Summary
Constructors Constructor Description AvailableBlockRange()AvailableBlockRange(java.math.BigInteger low, java.math.BigInteger high)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvailableBlockRange.AvailableBlockRangeBuilderbuilder()java.math.BigIntegergetHigh()The inclusive upper bound of the rangejava.math.BigIntegergetLow()The inclusive lower bound of the rangevoidsetHigh(java.math.BigInteger high)The inclusive upper bound of the rangevoidsetLow(java.math.BigInteger low)The inclusive lower bound of the range
-
-
-
Method Detail
-
builder
public static AvailableBlockRange.AvailableBlockRangeBuilder builder()
-
getLow
public java.math.BigInteger getLow()
The inclusive lower bound of the range
-
getHigh
public java.math.BigInteger getHigh()
The inclusive upper bound of the range
-
setLow
public void setLow(java.math.BigInteger low)
The inclusive lower bound of the range
-
setHigh
public void setHigh(java.math.BigInteger high)
The inclusive upper bound of the range
-
-