Revision 4b328a0a
Added by Andreas Müller about 1 year ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/compare/description/DistributionNodeByAreaLabelComparator.java | ||
---|---|---|
17 | 17 |
import eu.etaxonomy.cdm.model.description.Distribution; |
18 | 18 |
import eu.etaxonomy.cdm.model.location.NamedArea; |
19 | 19 |
|
20 |
public class DistributionNodeByAreaLabelComparator implements Comparator<TreeNode<Set<Distribution>, NamedArea>>{ |
|
20 |
public class DistributionNodeByAreaLabelComparator |
|
21 |
implements Comparator<TreeNode<Set<Distribution>, NamedArea>>{ |
|
22 |
|
|
21 | 23 |
@Override |
22 | 24 |
public int compare(TreeNode<Set<Distribution>, NamedArea> node1, TreeNode<Set<Distribution>, NamedArea> node2) { |
23 | 25 |
String label1 = node1.getNodeId().getLabel(); |
Also available in: Unified diff
cleanup