Class IMUtils.MessageComparator
java.lang.Object
ru.bitel.bgbilling.plugins.im.common.IMUtils.MessageComparator
- All Implemented Interfaces:
Comparator<ru.bitel.bgbilling.plugins.im.common.IMMessage>
- Enclosing class:
- IMUtils
public static class IMUtils.MessageComparator
extends Object
implements Comparator<ru.bitel.bgbilling.plugins.im.common.IMMessage>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(ru.bitel.bgbilling.plugins.im.common.IMMessage o1, ru.bitel.bgbilling.plugins.im.common.IMMessage o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
MessageComparator
public MessageComparator()
-
-
Method Details
-
compare
public int compare(ru.bitel.bgbilling.plugins.im.common.IMMessage o1, ru.bitel.bgbilling.plugins.im.common.IMMessage o2) - Specified by:
compare
in interfaceComparator<ru.bitel.bgbilling.plugins.im.common.IMMessage>
-