public abstract class AbstractComparableRange<T extends Comparable> extends AbstractRange<T> implements ComparableRange<T>
endExclusive, startExclusive| Constructor and Description |
|---|
AbstractComparableRange(boolean firstExclusive,
boolean secondExclusive,
boolean reversed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
boolean |
isLowerExclusive() |
boolean |
isLowerInclusive() |
boolean |
isUpperExclusive() |
boolean |
isUpperInclusive() |
boolean |
reversedOrder() |
String |
toString() |
equals, hashCode, isEndExclusive, isEndInclusive, isStartExclusive, isStartInclusiveclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, intersect, lower, lowerExclusive, lowerInclusive, upper, upperExclusive, upperInclusiveend, isEndExclusive, isEndInclusive, isStartExclusive, isStartInclusive, startpublic AbstractComparableRange(boolean firstExclusive,
boolean secondExclusive,
boolean reversed)
public boolean isLowerInclusive()
isLowerInclusive in interface ComparableRange<T extends Comparable>public boolean isLowerExclusive()
isLowerExclusive in interface ComparableRange<T extends Comparable>public boolean isUpperInclusive()
isUpperInclusive in interface ComparableRange<T extends Comparable>public boolean isUpperExclusive()
isUpperExclusive in interface ComparableRange<T extends Comparable>public boolean reversedOrder()
reversedOrder in interface ComparableRange<T extends Comparable>public boolean isEmpty()
isEmpty in interface ComparableRange<T extends Comparable>public String toString()
toString in class AbstractRange<T extends Comparable>Copyright © 2021 vpc open source initiative. All rights reserved.