Class DefaultCuratedPublicationComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.publication.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 Summary
Constructors Constructor Description DefaultCuratedPublicationComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Publication publication1, Publication publication2)
Use DefaultCuratedPublicationComparator to know if two publications are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Publication publication1, Publication publication2)
Use DefaultCuratedPublicationComparator to know if two publications are equals.- Parameters:
publication1
- aPublication
object.publication2
- aPublication
object.- Returns:
- true if the two publications are equal
-
-