public class ConceptMapTypeComparator extends java.lang.Object implements java.util.Comparator<ConceptMapType>
| 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.
|
public int compare(ConceptMapType conceptMapType, ConceptMapType conceptMapType2)
compare in interface java.util.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 © 2018 OpenMRS Inc.. All Rights Reserved.