Class CardPacket.CardPacketComparator
java.lang.Object
ru.bitel.bgbilling.modules.cerbercrypt.common.bean.CardPacket.CardPacketComparator
- All Implemented Interfaces:
Comparator<CardPacket>
- Enclosing class:
- CardPacket
public static class CardPacket.CardPacketComparator
extends Object
implements Comparator<CardPacket>
Сравниваемые характеристики в последовательности такой:
packetId, date1, date2, status
НЕ СРАВНИВАЕТСЯ: usercardId, т.к. на разных картах подписку то сравнивать надо.
-
Constructor Summary
-
Method Summary
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
-
CardPacketComparator
public CardPacketComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<CardPacket>
-