MCPcopy Create free account
hub / github.com/apache/commons-lang / isAfterRange

Method isAfterRange

src/main/java/org/apache/commons/lang3/Range.java:442–447  ·  view source on GitHub ↗

Checks whether this range is completely after the specified range. This method may fail if the ranges have two different comparators or element types. @param otherRange the range to check, null returns false. @return true if this range is completely after the specified range. @throws Runti

(final Range<T> otherRange)

Source from the content-addressed store, hash-verified

440 * @throws RuntimeException if ranges cannot be compared.
441 */
442 public boolean isAfterRange(final Range<T> otherRange) {
443 if (otherRange == null) {
444 return false;
445 }
446 return isAfter(otherRange.maximum);
447 }
448
449 /**
450 * Checks whether this range is before the specified element.

Callers 4

testIsAfterRangeMethod · 0.80
testIsAfterRangeMethod · 0.80
testIsAfterRangeMethod · 0.80
testIsAfterRangeMethod · 0.80

Calls 1

isAfterMethod · 0.95

Tested by 4

testIsAfterRangeMethod · 0.64
testIsAfterRangeMethod · 0.64
testIsAfterRangeMethod · 0.64
testIsAfterRangeMethod · 0.64