Class CardPacket.CardPacketComparator

java.lang.Object
ru.bitel.bgbilling.modules.cerbercrypt.common.bean.CardPacket.CardPacketComparator
All Implemented Interfaces:
java.util.Comparator<CardPacket>
Enclosing class:
CardPacket

public static class CardPacket.CardPacketComparator
extends java.lang.Object
implements java.util.Comparator<CardPacket>
Сравниваемые характеристики в последовательности такой: packetId, date1, date2, status НЕ СРАВНИВАЕТСЯ: usercardId, т.к. на разных картах подписку то сравнивать надо.
  • Constructor Summary

    Constructors 
    Constructor Description
    CardPacketComparator()  
  • Method Summary

    Modifier and Type Method Description
    int compare​(CardPacket o1, CardPacket 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