public class DefaultAliasComparator
extends Object
Default alias comparator.
It will first compare alias types using DefaultCvTermComparator and then alias names (case sensitive)
- Two aliases which are null are equals
- The alias which is not null is before null.
- If the alias types are not set, compares the names (case sensitive)
- If both alias types are set, use DefaultCvTermComparator to compare the alias types. If they are equals, compares the names (case sensitive)
- Since:
18/12/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)