public static class SetInfo.NumFilesComparator
extends java.lang.Object
implements java.util.Comparator
Constructor and Description |
---|
NumFilesComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object O1,
java.lang.Object O2)
Campares the numFiles field.
|
public int compare(java.lang.Object O1, java.lang.Object O2) throws java.lang.ClassCastException
compare
in interface java.util.Comparator
O1
- A SetInfo ObjectO2
- A SetInfo Objectjava.lang.ClassCastException
- If Object is not SetInfo