public final class StartAndSizeComparator<C extends Rangeable<C,R>,R extends Range<C,R>> extends Object implements Comparator<R>, Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
compare(R left,
R right) |
static <C extends Rangeable<C,R>,R extends Range<C,R>> |
get() |
static <C extends Rangeable<C,R>,R extends Range<C,R>> |
reverse() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static <C extends Rangeable<C,R>,R extends Range<C,R>> Comparator<R> get()
public static <C extends Rangeable<C,R>,R extends Range<C,R>> Comparator<R> reverse()
Copyright © 2016. All rights reserved.