Class DefaultExactNucleicAcidComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interactor.DefaultExactNucleicAcidComparator
-
public class DefaultExactNucleicAcidComparator extends Object
Default exact nucleic acids comparator. It will first use DefaultExactInteractorBaseComparator to compare the basic interactor properties. If the basic interactor properties are the same, It will look for DDBJ/EMBL/Genbank identifier if both are set. If the DDBJ/EMBL/Genbank identifiers are not both set, it will look at the Refseq identifiers. If at least one Refseq identifiers is not set, it will look at the sequence/organism.- Since:
17/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultExactNucleicAcidComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(NucleicAcid nucleicAcid1, NucleicAcid nucleicAcid2)
Use DefaultNucleicAcidComparator to know if two nucleic acids are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(NucleicAcid nucleicAcid1, NucleicAcid nucleicAcid2)
Use DefaultNucleicAcidComparator to know if two nucleic acids are equals.- Parameters:
nucleicAcid1
- aNucleicAcid
object.nucleicAcid2
- aNucleicAcid
object.- Returns:
- true if the two nucleic acids are equal
-
-