Class DefaultVariableParameterComparator


  • public class DefaultVariableParameterComparator
    extends Object
    DefaultVariableParameter comparator It will first compare the description (case insensitive). Then it will compare the unit using DefaultCvTermComparator. Then it will compare the collection of VariableParameterValue using the VariableParameterValueComparator.
    Since:
    22/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultVariableParameterComparator

        public DefaultVariableParameterComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(VariableParameter variableParameter1,
                                        VariableParameter variableParameter2)
        Use DefaultVariableParameterComparator to know if two variableParameter are equals.
        Parameters:
        variableParameter1 - a VariableParameter object.
        variableParameter2 - a VariableParameter object.
        Returns:
        true if the two variableParameters are equal