private static enum FileListHelper.CaseInsensitiveFileComparator extends java.lang.Enum<FileListHelper.CaseInsensitiveFileComparator> implements java.util.Comparator<java.io.File>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.io.File o1,
java.io.File o2) |
static FileListHelper.CaseInsensitiveFileComparator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileListHelper.CaseInsensitiveFileComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileListHelper.CaseInsensitiveFileComparator INSTANCE
public static FileListHelper.CaseInsensitiveFileComparator[] values()
for (FileListHelper.CaseInsensitiveFileComparator c : FileListHelper.CaseInsensitiveFileComparator.values()) System.out.println(c);
public static FileListHelper.CaseInsensitiveFileComparator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int compare(java.io.File o1, java.io.File o2)
compare
in interface java.util.Comparator<java.io.File>