Package org.cyclos.impl.users
Class ProfileOrAddressFieldComparator
- java.lang.Object
-
- org.cyclos.impl.users.ProfileOrAddressFieldComparator
-
- All Implemented Interfaces:
Comparator<Comparable<?>>
public class ProfileOrAddressFieldComparator extends Object implements Comparator<Comparable<?>>
AComparatorthat comparesBasicProfileField,AddressFieldsandUserCustomField, returning them in that order
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Comparable<?> f1, Comparable<?> f2)static ProfileOrAddressFieldComparatorgetInstance()-
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
-
-
-
-
Method Detail
-
getInstance
public static ProfileOrAddressFieldComparator getInstance()
-
compare
public int compare(Comparable<?> f1, Comparable<?> f2)
- Specified by:
comparein interfaceComparator<Comparable<?>>
-
-