Package com.impossibl.postgres.api.data
Class Range<T>
- java.lang.Object
-
- com.impossibl.postgres.api.data.Range<T>
-
public class Range<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Range.Flags
-
Constructor Summary
Constructors Constructor Description Range(Range.Flags flags, Object[] values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Range
public Range(Range.Flags flags, Object[] values)
-
-
Method Detail
-
create
public static <U> Range<U> create(U lower, boolean lowerInc, U upper, boolean upperInc)
-
createEmpty
public static Range<?> createEmpty()
-
getFlags
public Range.Flags getFlags()
-
isEmpty
public boolean isEmpty()
-
hasLowerBound
public boolean hasLowerBound()
-
getLowerBound
public T getLowerBound()
-
setLowerBound
public void setLowerBound(T val)
-
isLowerBoundInfinity
public boolean isLowerBoundInfinity()
-
isLowerBoundInclusive
public boolean isLowerBoundInclusive()
-
hasUpperBound
public boolean hasUpperBound()
-
getUpperBound
public T getUpperBound()
-
setUpperBound
public void setUpperBound(T val)
-
isUpperBoundInfinity
public boolean isUpperBoundInfinity()
-
isUpperBoundInclusive
public boolean isUpperBoundInclusive()
-
-