public abstract class AsymmetricOrdering<T1,T2>
extends com.google.common.collect.Ordering<T1>
Modifier and Type | Class and Description |
---|---|
static class |
AsymmetricOrdering.Op |
Constructor and Description |
---|
AsymmetricOrdering() |
Modifier and Type | Method and Description |
---|---|
int |
binarySearchAsymmetric(java.util.List<? extends T1> searchIn,
T2 searchFor,
AsymmetricOrdering.Op op) |
abstract int |
compareAsymmetric(T1 left,
T2 right) |
AsymmetricOrdering<T1,T2> |
reverse() |
allEqual, arbitrary, binarySearch, compare, compound, compound, explicit, explicit, from, from, greatestOf, greatestOf, immutableSortedCopy, isOrdered, isStrictlyOrdered, leastOf, leastOf, lexicographical, max, max, max, max, min, min, min, min, natural, nullsFirst, nullsLast, onResultOf, sortedCopy, usingToString
public int binarySearchAsymmetric(java.util.List<? extends T1> searchIn, T2 searchFor, AsymmetricOrdering.Op op)
searchIn
- sorted list to look insearchFor
- key to findpublic AsymmetricOrdering<T1,T2> reverse()
reverse
in class com.google.common.collect.Ordering<T1>
Copyright © 2017 The Apache Software Foundation