@ThreadSafe public abstract class Range<T extends Comparable> extends Object implements Iterable<T>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
contains(T value) |
boolean |
equals(Object o) |
T |
getFrom() |
T |
getTo() |
Class<T> |
getType() |
int |
hashCode() |
abstract boolean |
isReverse() |
abstract Range<T> |
reverse() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, iterator, spliterator
public abstract boolean contains(T value)
public abstract boolean isReverse()