public interface ComparableRange<T extends Comparable> extends Range<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T t) |
ComparableRange<T> |
intersect(ComparableRange<T> other) |
boolean |
isEmpty() |
boolean |
isLowerExclusive() |
boolean |
isLowerInclusive() |
boolean |
isUpperExclusive() |
boolean |
isUpperInclusive() |
T |
lower() |
T |
lowerExclusive() |
T |
lowerInclusive() |
boolean |
reversedOrder() |
T |
upper() |
T |
upperExclusive() |
T |
upperInclusive() |
end, isEndExclusive, isEndInclusive, isStartExclusive, isStartInclusive, startboolean isLowerInclusive()
boolean isLowerExclusive()
boolean isUpperInclusive()
boolean isUpperExclusive()
boolean reversedOrder()
T lowerInclusive()
T lowerExclusive()
T lower()
T upper()
T upperInclusive()
T upperExclusive()
boolean contains(T t)
ComparableRange<T> intersect(ComparableRange<T> other)
boolean isEmpty()
Copyright © 2021 vpc open source initiative. All rights reserved.