Class DefaultCuratedPublicationComparator


  • public class DefaultCuratedPublicationComparator
    extends Object
    Default curated AbstractPublicationComparator It uses a DefaultPublicationComparator to compares the bibliographic details and then will compare first the curation depth, then the source using DefaultCvTermComparator and then the released date.
    Since:
    21/12/12
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultCuratedPublicationComparator

        public DefaultCuratedPublicationComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Publication publication1,
                                        Publication publication2)
        Use DefaultCuratedPublicationComparator to know if two publications are equals.
        Parameters:
        publication1 - a Publication object.
        publication2 - a Publication object.
        Returns:
        true if the two publications are equal