public class ConceptMapTypeComparator extends Object implements Comparator<ConceptMapType>, Serializable
| Constructor and Description |
|---|
ConceptMapTypeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ConceptMapType conceptMapType,
ConceptMapType conceptMapType2) |
static int |
getConceptMapTypeSortWeight(ConceptMapType conceptMapType)
This method calculates a weight used to decide the object's order in a collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(ConceptMapType conceptMapType, ConceptMapType conceptMapType2)
compare in interface Comparator<ConceptMapType>Comparator.compare(java.lang.Object, java.lang.Object)public static int getConceptMapTypeSortWeight(ConceptMapType conceptMapType)
This method calculates a weight used to decide the object's order in a collection.
conceptMapType - the ConceptMapType object the weight of which is to be calculatedCopyright © 2024 OpenMRS Inc.. All rights reserved.