public class BigIntegerRange extends Object implements Range<BigInteger,BigIntegerContent>
| Constructor and Description |
|---|
BigIntegerRange(BigInteger start,
BigInteger end) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(BigInteger point) |
boolean |
equals(Object obj) |
BigInteger |
getEnd() |
BigInteger |
getStart() |
int |
hashCode() |
BigIntegerContent |
length() |
static BigIntegerRange |
of(BigInteger start,
BigInteger end) |
static BigIntegerRange |
of(long start,
long end) |
String |
toString() |
public BigIntegerRange(BigInteger start, BigInteger end)
public BigInteger getStart()
getStart in interface Range<BigInteger,BigIntegerContent>public BigInteger getEnd()
getEnd in interface Range<BigInteger,BigIntegerContent>public BigIntegerContent length()
length in interface Measurable<BigIntegerContent>public static BigIntegerRange of(long start, long end)
public static BigIntegerRange of(BigInteger start, BigInteger end)
public boolean contains(BigInteger point)
contains in interface Range<BigInteger,BigIntegerContent>Copyright © 2014. All Rights Reserved.