Class UnambiguousPolymerComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.interactor.PolymerComparator
-
- psidev.psi.mi.jami.utils.comparator.interactor.UnambiguousPolymerComparator
-
- All Implemented Interfaces:
Comparator<Polymer>
public class UnambiguousPolymerComparator extends PolymerComparator
Unambiguous polymer comparator. It will first use UnambiguousInteractorBaseComparator to compare the basic interactor properties If the basic interactor properties are the same, it will look at sequence/organism. *- Since:
21/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description UnambiguousPolymerComparator()
Creates a new UnambiguousPolymerComparator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
areEquals(Polymer polymer1, Polymer polymer2)
Use UnambiguousPolymerComparator to know if two polymers are equals.UnambiguousInteractorBaseComparator
getInteractorComparator()
getInteractorComparator-
Methods inherited from class psidev.psi.mi.jami.utils.comparator.interactor.PolymerComparator
compare, getOrganismComparator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
getInteractorComparator
public UnambiguousInteractorBaseComparator getInteractorComparator()
getInteractorComparator
- Overrides:
getInteractorComparator
in classPolymerComparator
- Returns:
- a
UnambiguousInteractorBaseComparator
object.
-
-