public final class ActivityComparator extends Object implements Comparator<Activity>
Constructor and Description |
---|
ActivityComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Activity activity1,
Activity activity2) |
static ActivityComparator |
getInstance()
Returns the singleton instance of the comparator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static ActivityComparator getInstance()
public int compare(Activity activity1, Activity activity2)
compare
in interface Comparator<Activity>
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.