Package org.dspace.content
Class CollectionNameComparator
- java.lang.Object
-
- org.dspace.content.CollectionNameComparator
-
- All Implemented Interfaces:
Serializable,Comparator<Collection>
public class CollectionNameComparator extends Object implements Comparator<Collection>, Serializable
Compares the names of twoCollections.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectionNameComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Collection collection1, Collection collection2)-
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
-
compare
public int compare(Collection collection1, Collection collection2)
- Specified by:
comparein interfaceComparator<Collection>
-
-