public static class DleseCollectionFileIndexingWriter.CollectionAccessionStatusComparator
extends java.lang.Object
implements java.util.Comparator
Constructor and Description |
---|
CollectionAccessionStatusComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object O1,
java.lang.Object O2)
Compares two collection accession XML nodes for sorting.
|
public int compare(java.lang.Object O1, java.lang.Object O2) throws java.lang.ClassCastException
compare
in interface java.util.Comparator
O1
- A collectionStatus dom4j XML Node from a dlese_collect XML Document.O2
- A collectionStatus dom4j XML Node from a dlese_collect XML Document.java.lang.ClassCastException
- If error.