public class PatientIdentifierTypeDefaultComparator extends Object implements Comparator<PatientIdentifierType>
PatientIdentifierType
by retired (true last), required (true first), name and
id.Constructor and Description |
---|
PatientIdentifierTypeDefaultComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(PatientIdentifierType pit1,
PatientIdentifierType pit2)
Orders by retired (true last), required (true first), name and id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public PatientIdentifierTypeDefaultComparator()
public int compare(PatientIdentifierType pit1, PatientIdentifierType pit2)
compare
in interface Comparator<PatientIdentifierType>
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.