Class XrefsCollectionComparator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.comparator.CollectionComparator<Xref>
-
- psidev.psi.mi.jami.utils.comparator.xref.XrefsCollectionComparator
-
- All Implemented Interfaces:
Comparator<Collection<? extends Xref>>
public class XrefsCollectionComparator extends CollectionComparator<Xref>
Comparator for collection of Xrefs- Since:
20/12/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XrefsCollectionComparator(Comparator<Xref> xrefComparator)
Creates a new xref CollectionComparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<Xref>
getObjectComparator()
Getter for the fieldobjectComparator
.-
Methods inherited from class psidev.psi.mi.jami.utils.comparator.CollectionComparator
compare
-
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
-
-
-
-
Constructor Detail
-
XrefsCollectionComparator
public XrefsCollectionComparator(Comparator<Xref> xrefComparator)
Creates a new xref CollectionComparator. It requires a Comparator for the xrefs in the Collection- Parameters:
xrefComparator
- aComparator
object.
-
-
Method Detail
-
getObjectComparator
public Comparator<Xref> getObjectComparator()
Getter for the field
objectComparator
.- Overrides:
getObjectComparator
in classCollectionComparator<Xref>
- Returns:
- a
Comparator
object.
-
-