Class SortByDate
java.lang.Object
com.skava.paymentapp.util.paymentoption.SortByDate
- All Implemented Interfaces:
Serializable
,Comparator<GetAllPaymentOptionResponse>
public class SortByDate
extends Object
implements Comparator<GetAllPaymentOptionResponse>, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(GetAllPaymentOptionResponse firstElement, GetAllPaymentOptionResponse secondElement) 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
-
SortByDate
public SortByDate()
-
-
Method Details
-
compare
public int compare(GetAllPaymentOptionResponse firstElement, GetAllPaymentOptionResponse secondElement) - Specified by:
compare
in interfaceComparator<GetAllPaymentOptionResponse>
-