Class CollaborationComparator
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.visualization.collaborationutils.CollaborationComparator
-
- All Implemented Interfaces:
Comparator<Collaboration>
public class CollaborationComparator extends Object implements Comparator<Collaboration>
This Comparator is used to sort the edges based on their IDs in ascending order.- Author:
- cdtank
-
-
Constructor Summary
Constructors Constructor Description CollaborationComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Collaboration arg0, Collaboration arg1)-
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(Collaboration arg0, Collaboration arg1)
- Specified by:
comparein interfaceComparator<Collaboration>
-
-