public enum SourceSortOrder extends Enum<SourceSortOrder>
Enum Constant and Description |
---|
FILES_FIRST
FILES_FIRST Case sensitive sort, visit the files first. |
OS
OS Let the OS influence the order that the source files are processed. |
SUBDIRS_FIRST
SUBDIRS_FIRST Case sensitive sort, visit the sub-directories before the files. |
Modifier and Type | Method and Description |
---|---|
abstract Comparator<File> |
getComparator() |
static SourceSortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceSortOrder OS
OS
Let the OS influence the order that the source files are processed.public static final SourceSortOrder FILES_FIRST
FILES_FIRST
Case sensitive sort, visit the files first. The source files are processed in a
breadth first sort order.public static final SourceSortOrder SUBDIRS_FIRST
SUBDIRS_FIRST
Case sensitive sort, visit the sub-directories before the files. The source files
are processed in a depth first sort order.public static SourceSortOrder[] values()
for (SourceSortOrder c : SourceSortOrder.values()) System.out.println(c);
public static SourceSortOrder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Comparator<File> getComparator()
Copyright © 2022. All rights reserved.