public class IntervalStartComparator extends Object implements Comparator<org.joda.time.Interval>, Serializable
Note: this comparator imposes orderings that are inconsistent with equals. Only the starting instant is considered.
| Modifier and Type | Field and Description |
|---|---|
static IntervalStartComparator |
INSTANCE |
| Constructor and Description |
|---|
IntervalStartComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.joda.time.Interval a,
org.joda.time.Interval b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final IntervalStartComparator INSTANCE
public int compare(org.joda.time.Interval a,
org.joda.time.Interval b)
compare in interface Comparator<org.joda.time.Interval>Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.