Package io.mosip.pms.common.util
Class FieldComparator<T>
- java.lang.Object
-
- io.mosip.pms.common.util.FieldComparator<T>
-
- All Implemented Interfaces:
Comparator<T>
public class FieldComparator<T> extends Object implements Comparator<T>
FieldComparatorused to compare two object fields based on the passedSearchSort- Since:
- 1.0.0
- Author:
- Abhishek Kumar
-
-
Constructor Summary
Constructors Constructor Description FieldComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Class<?> type, Object obj1, Object obj2)intcompare(T o1, T 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
-
-