Class DefaultInteractorBaseComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interactor.DefaultInteractorBaseComparator
-
public class DefaultInteractorBaseComparator extends Object
Default interactor comparator. If both interactors have identifier(s), it will look for at least one identical identifier using DefaultIdentifierComparator. If at least one interactor does not have any identifiers, it will look at the short names (case sensitive). If the shortnames do not match, it will look at the fullNames (case sensitive) if both fullnames are set and if the fullnames are not set or do not match, it will look for at least one common alias using DefaultAliasComparator. This comparator will ignore all the other properties of an interactor.- Since:
21/12/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultInteractorBaseComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Interactor interactor1, Interactor interactor2)
Use DefaultInteractorBaseComparator to know if two interactors are equals.
-
-
-
Method Detail
-
areEquals
public static boolean areEquals(Interactor interactor1, Interactor interactor2)
Use DefaultInteractorBaseComparator to know if two interactors are equals.- Parameters:
interactor1
- aInteractor
object.interactor2
- aInteractor
object.- Returns:
- true if the two interactors are equal
-
-