Serializable
, Comparator<PeerState>
static class UDPSorters.UptimeComparator extends UDPSorters.PeerComparator
Constructor | Description |
---|---|
UptimeComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(PeerState l,
PeerState r) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(PeerState l, PeerState r)
compare
in interface Comparator<PeerState>
compare
in class UDPSorters.PeerComparator