public class HomotypicalGroupNameComparator extends java.lang.Object implements java.util.Comparator<TaxonName>, java.io.Serializable
Constructor and Description |
---|
HomotypicalGroupNameComparator(TaxonName firstNameInGroup,
boolean includeRanks) |
Modifier and Type | Method and Description |
---|---|
int |
compare(TaxonName taxonName1,
TaxonName taxonName2) |
protected int |
compare(TaxonName name1,
TaxonName name2,
boolean includeNomIlleg) |
protected int |
compareNomIlleg(TaxonName taxonName1,
TaxonName taxonName2) |
protected int |
compareStatus(TaxonName taxonName,
TaxonName taxonName2) |
public HomotypicalGroupNameComparator(TaxonName firstNameInGroup, boolean includeRanks)
firstNameInGroup
- public int compare(TaxonName taxonName1, TaxonName taxonName2)
compare
in interface java.util.Comparator<TaxonName>
TaxonComparator.compare(TaxonBase, TaxonBase)
,
String.compareTo(String)
,
Comparator.compare(java.lang.Object, java.lang.Object)
protected int compareStatus(TaxonName taxonName, TaxonName taxonName2)
taxonName
- taxonName2
- statusCompareWeight
- protected int compare(TaxonName name1, TaxonName name2, boolean includeNomIlleg)
name1
- name2
- includeNomIlleg
- if true and if both names have no date or same date, the only
name having nom. illeg. state is handled as if the name was published later than the name
without status nom. illeg.Copyright © 2007-2020 EDIT. All Rights Reserved.