Class DefaultExactInteractorBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interactor.DefaultExactInteractorBaseComparator
-
public class DefaultExactInteractorBaseComparator extends Object
Default Interactor base comparator. It will first compare the interactor types using DefaultCvTermComparator. If both types are equal, it will compare organisms using OrganismTaxIdComparator. If both organisms are equal or not set, it will use a DefaultInteractorBaseComparator to compare basic Interactor properties.- Since:
17/01/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultExactInteractorBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Interactor interactor1, Interactor interactor2)
Use DefaulExacttInteractorBaseComparator to know if two interactors are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Interactor interactor1, Interactor interactor2)
Use DefaulExacttInteractorBaseComparator to know if two interactors are equals.- Parameters:
interactor1
- aInteractor
object.interactor2
- aInteractor
object.- Returns:
- true if the two interactors are equal
-
-