Class DefaultChecksumComparator


  • public class DefaultChecksumComparator
    extends Object
    Default checksum comparator. - Two checksum which are null are equals - The checksum which is not null is before null. - use DefaultCvTermComparator to compare the methods. If they are equals, compares the values (case sensitive)
    Since:
    18/12/12
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultChecksumComparator

        public DefaultChecksumComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Checksum checksum1,
                                        Checksum checksum2)
        Use DefaultChecksumComparator to know if two checksum are equals.
        Parameters:
        checksum1 - a Checksum object.
        checksum2 - a Checksum object.
        Returns:
        true if the two checksum are equal