public static class OfflineMessages.StampComparator extends Object implements Comparator<Packet>
Comparator
interface implementation for the purpose of sorting
Elements retrieved from the repository by the timestamp stored in
delay
element.Constructor and Description |
---|
StampComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Packet p1,
Packet p2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Packet p1, Packet p2)
compare
in interface Comparator<Packet>
Copyright © 2019 "Tigase, Inc.". All rights reserved.