Class DefaultExactBioactiveEntityComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interactor.DefaultExactBioactiveEntityComparator
-
public class DefaultExactBioactiveEntityComparator extends Object
default Exact bioactive entity comparator. It will first use DefaultExactInteractorBaseComparator to compare the basic interactor properties. If the basic interactor properties are the same, It will look first for CHEBI identifier if both are set. If the CHEBI identifiers are not both set, it will look at the standard inchi key. If at least one standard inchi key is not set or both inchi key are identical, it will look at the smile. If at least one smile is not set or both smiles are identical, it will look at the standard Inchi. This comparator will ignore all the other properties of an interactor.- Since:
17/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultExactBioactiveEntityComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(BioactiveEntity bioactiveEntity1, BioactiveEntity bioactiveEntity2)
Use DefaultBioactiveEntityComparator to know if two bioactive entities are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(BioactiveEntity bioactiveEntity1, BioactiveEntity bioactiveEntity2)
Use DefaultBioactiveEntityComparator to know if two bioactive entities are equals.- Parameters:
bioactiveEntity1
- aBioactiveEntity
object.bioactiveEntity2
- aBioactiveEntity
object.- Returns:
- true if the two bioactive entities are equal
-
-