Package org.dspace.app.util
Class CollectionDropDown.CollectionPathEntry
java.lang.Object
org.dspace.app.util.CollectionDropDown.CollectionPathEntry
- All Implemented Interfaces:
Comparable<CollectionDropDown.CollectionPathEntry>
- Enclosing class:
- CollectionDropDown
public static class CollectionDropDown.CollectionPathEntry
extends Object
implements Comparable<CollectionDropDown.CollectionPathEntry>
A helper class to hold (collection, full path) pairs. Instances of the helper class are sortable:
two instances will be compared first on their full path and if those are equal,
the comparison will fall back to comparing collection IDs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
collection
-
path
-
-
Constructor Details
-
CollectionPathEntry
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<CollectionDropDown.CollectionPathEntry>
-
equals
-
hashCode
public int hashCode()
-