Package org.gbif.api.util.comparators
Class EndpointCreatedComparator
- java.lang.Object
-
- org.gbif.api.util.comparators.EndpointCreatedComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<Endpoint>
public class EndpointCreatedComparator extends Object implements Comparator<Endpoint>, Serializable
An ordering that uses the created date of an endpoint for ordering.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EndpointCreatedComparator
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Endpoint left, Endpoint right)
-
Methods inherited from class java.lang.Object
equals, 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
-
INSTANCE
public static final EndpointCreatedComparator INSTANCE
-
-