Package com.google.gerrit.server.account
Class AccountInfoComparator
- java.lang.Object
-
- com.google.common.collect.Ordering<AccountInfo>
-
- com.google.gerrit.server.account.AccountInfoComparator
-
- All Implemented Interfaces:
Comparator<AccountInfo>
public class AccountInfoComparator extends com.google.common.collect.Ordering<AccountInfo> implements Comparator<AccountInfo>
-
-
Field Summary
Fields Modifier and Type Field Description static AccountInfoComparator
ORDER_NULLS_FIRST
static AccountInfoComparator
ORDER_NULLS_LAST
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(AccountInfo a, AccountInfo b)
-
Methods inherited from class com.google.common.collect.Ordering
allEqual, arbitrary, binarySearch, 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, reverse, sortedCopy, usingToString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
ORDER_NULLS_FIRST
public static final AccountInfoComparator ORDER_NULLS_FIRST
-
ORDER_NULLS_LAST
public static final AccountInfoComparator ORDER_NULLS_LAST
-
-
Method Detail
-
compare
public int compare(AccountInfo a, AccountInfo b)
- Specified by:
compare
in interfaceComparator<AccountInfo>
- Specified by:
compare
in classcom.google.common.collect.Ordering<AccountInfo>
-
-