public class HashRange extends Object
| Modifier and Type | Field and Description |
|---|---|
static HashRange |
FULL_INT_RANGE |
static HashRange |
FULL_LONG_RANGE |
static HashRange |
POSITIVE_INT_RANGE |
static HashRange |
POSITIVE_LONG_RANGE |
| Constructor and Description |
|---|
HashRange(BigInteger minimum,
BigInteger maximum) |
HashRange(int minimum,
int maximum) |
HashRange(long minimum,
long maximum) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigInteger |
getMaximum() |
BigInteger |
getMinimum() |
BigInteger |
getSize() |
int |
hashCode() |
boolean |
isIntBounded() |
boolean |
isIntSized() |
boolean |
isLongBounded() |
boolean |
isLongSized() |
boolean |
isZeroBased() |
String |
toString() |
HashRange |
zeroBased() |
public static final HashRange FULL_INT_RANGE
public static final HashRange FULL_LONG_RANGE
public static final HashRange POSITIVE_INT_RANGE
public static final HashRange POSITIVE_LONG_RANGE
public HashRange(BigInteger minimum, BigInteger maximum)
public HashRange(int minimum,
int maximum)
public HashRange(long minimum,
long maximum)
public BigInteger getMaximum()
public BigInteger getMinimum()
public BigInteger getSize()
public boolean isIntBounded()
public boolean isIntSized()
public boolean isLongBounded()
public boolean isLongSized()
public boolean isZeroBased()
public HashRange zeroBased()