public class Range<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Range.Flags |
Constructor and Description |
---|
Range(Range.Flags flags,
Object[] values) |
Modifier and Type | Method and Description |
---|---|
static <U> Range<U> |
create(U lower,
boolean lowerInc,
U upper,
boolean upperInc) |
static Range<?> |
createEmpty() |
boolean |
equals(Object obj) |
Range.Flags |
getFlags() |
T |
getLowerBound() |
T |
getUpperBound() |
int |
hashCode() |
boolean |
hasLowerBound() |
boolean |
hasUpperBound() |
boolean |
isEmpty() |
boolean |
isLowerBoundInclusive() |
boolean |
isLowerBoundInfinity() |
boolean |
isUpperBoundInclusive() |
boolean |
isUpperBoundInfinity() |
void |
setLowerBound(T val) |
void |
setUpperBound(T val) |
String |
toString() |
public Range(Range.Flags flags, Object[] values)
public static <U> Range<U> create(U lower, boolean lowerInc, U upper, boolean upperInc)
public static Range<?> createEmpty()
public Range.Flags getFlags()
public boolean isEmpty()
public boolean hasLowerBound()
public T getLowerBound()
public void setLowerBound(T val)
public boolean isLowerBoundInfinity()
public boolean isLowerBoundInclusive()
public boolean hasUpperBound()
public T getUpperBound()
public void setUpperBound(T val)
public boolean isUpperBoundInfinity()
public boolean isUpperBoundInclusive()
Copyright © 2013–2017 impossibl.com. All rights reserved.