public class MetadataComparator extends Object implements Comparator<OpenmrsMetadata>
Constructor and Description |
---|
MetadataComparator(Locale locale) |
Modifier and Type | Method and Description |
---|---|
int |
compare(OpenmrsMetadata left,
OpenmrsMetadata right) |
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 MetadataComparator(Locale locale)
locale
- public int compare(OpenmrsMetadata left, OpenmrsMetadata right)
compare
in interface Comparator<OpenmrsMetadata>
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.