Package nl.b3p.commons.services
Class BeanCompare
- java.lang.Object
-
- nl.b3p.commons.services.BeanCompare
-
- All Implemented Interfaces:
Comparator
public class BeanCompare extends Object implements Comparator
-
-
Constructor Summary
Constructors Constructor Description BeanCompare(String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object obj, Object obj1)
-
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 Detail
-
BeanCompare
public BeanCompare(String fieldName)
-
-
Method Detail
-
compare
public int compare(Object obj, Object obj1)
- Specified by:
compare
in interfaceComparator
-
-