public class JustBeforeNothingComparator<T> extends Object implements Comparator<Optional<T>>
| Constructor and Description |
|---|
JustBeforeNothingComparator(Comparator<T> inner) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Optional<T> lhs,
Optional<T> rhs) |
boolean |
equals(Object rhs) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic JustBeforeNothingComparator(Comparator<T> inner)
Copyright © 2017. All rights reserved.