public final class Range extends Object
| Modifier and Type | Method and Description |
|---|---|
static Range |
all(Class<?> type) |
boolean |
contains(Range other) |
static Range |
equal(Comparable<?> value) |
boolean |
equals(Object obj) |
Marker |
getHigh() |
Marker |
getLow() |
Comparable<?> |
getSingleValue() |
Class<?> |
getType() |
static Range |
greaterThan(Comparable<?> low) |
static Range |
greaterThanOrEqual(Comparable<?> low) |
int |
hashCode() |
boolean |
includes(Marker marker) |
Range |
intersect(Range other) |
boolean |
isAll() |
boolean |
isSingleValue() |
static Range |
lessThan(Comparable<?> high) |
static Range |
lessThanOrEqual(Comparable<?> high) |
boolean |
overlaps(Range other) |
static Range |
range(Comparable<?> low,
boolean lowInclusive,
Comparable<?> high,
boolean highInclusive) |
Range |
span(Range other) |
String |
toString() |
public static Range greaterThan(Comparable<?> low)
public static Range greaterThanOrEqual(Comparable<?> low)
public static Range lessThan(Comparable<?> high)
public static Range lessThanOrEqual(Comparable<?> high)
public static Range equal(Comparable<?> value)
public static Range range(Comparable<?> low, boolean lowInclusive, Comparable<?> high, boolean highInclusive)
public Class<?> getType()
public Marker getLow()
public Marker getHigh()
public boolean isSingleValue()
public Comparable<?> getSingleValue()
public boolean isAll()
public boolean includes(Marker marker)
public boolean contains(Range other)
public boolean overlaps(Range other)
Copyright © 2012-2014. All Rights Reserved.