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

Method getComparator

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

Gets the comparator being used to determine if objects are within the range. Natural ordering uses an internal comparator implementation, thus this method never returns null. See #isNaturalOrdering(). @return the comparator being used, not null.

()

Source from the content-addressed store, hash-verified

365 * @return the comparator being used, not null.
366 */
367 public Comparator<T> getComparator() {
368 return comparator;
369 }
370
371 /**
372 * Gets the maximum value in this range.

Callers 3

intersectionWithMethod · 0.95

Calls

no outgoing calls