T
- the type of values defined by this range.public class ValueRange<T> extends Object
Modifier and Type | Field and Description |
---|---|
static ValueRange<?> |
ALL |
Constructor and Description |
---|
ValueRange(T low,
T high,
EndpointType lowEndpoint,
EndpointType highEndpoint) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getHigh() |
EndpointType |
getHighEndpoint() |
T |
getLow() |
EndpointType |
getLowEndpoint() |
int |
hashCode() |
String |
toString() |
public static final ValueRange<?> ALL
public ValueRange(@Nullable T low, @Nullable T high, @Nonnull EndpointType lowEndpoint, @Nonnull EndpointType highEndpoint)
@Nonnull public EndpointType getLowEndpoint()
@Nonnull public EndpointType getHighEndpoint()