@FunctionalInterface public interface TernaryComparator<T>
| Modifier and Type | Method and Description |
|---|---|
Comparison |
ternaryCompare(T o1,
T o2)
Should return a negative integer if o1 is smaller than o2,
a positive integer if o1 is bigger than o2,
0 if o1 and o2 are equal, and
null if they are not comparable. |
Comparison ternaryCompare(T o1, T o2)
null if they are not comparable.Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.