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