public class EndpointPriorityComparator extends Object implements Comparator<Endpoint>, Serializable
ClassCastException exception if a non supported EndpointType is passed in. It also does not
support null values.
The priority list is as follows (most to least important):
| Modifier and Type | Field and Description |
|---|---|
static List<EndpointType> |
PRIORITIES |
| Constructor and Description |
|---|
EndpointPriorityComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Endpoint endpoint1,
Endpoint endpoint2) |
equals, 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 List<EndpointType> PRIORITIES
public EndpointPriorityComparator()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.