Serializable
, Comparator<PeerProfile>
class SpeedComparator extends Object implements Comparator<PeerProfile>, Serializable
Constructor | Description |
---|---|
SpeedComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(PeerProfile left,
PeerProfile right) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(PeerProfile left, PeerProfile right)
compare
in interface Comparator<PeerProfile>