public final class PacketComparator extends Object implements Comparator<Packet>, Serializable
Packets that is just comparing time stamps.| Constructor and Description |
|---|
PacketComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Packet o1,
Packet o2) |
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 int compare(Packet o1, Packet o2)
compare in interface Comparator<Packet>Copyright © 2021. All Rights Reserved.