public class RangeBigInteger extends Object
| Modifier and Type | Field and Description |
|---|---|
BigInteger |
max |
BigInteger |
min |
| Constructor and Description |
|---|
RangeBigInteger(BigInteger min,
BigInteger max)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(BigInteger value)
Return true if this range contains the given value.
|
RangeBigInteger |
copy()
Create a copy of this instance.
|
boolean |
equals(Object obj) |
int |
hashCode() |
RangeBigInteger |
intersect(RangeBigInteger o)
Return the intersection between this range and the given range.
|
public BigInteger min
public BigInteger max
public RangeBigInteger(BigInteger min, BigInteger max)
public RangeBigInteger copy()
public boolean contains(BigInteger value)
public RangeBigInteger intersect(RangeBigInteger o)
Copyright © 2017. All rights reserved.