public abstract static class DataFolder.SortMode extends Object implements Comparator<DataObject>
| Modifier and Type | Field and Description |
|---|---|
static DataFolder.SortMode |
CLASS
Objects are sorted by their types and then by names.
|
static DataFolder.SortMode |
FOLDER_NAMES
Folders go first (sorted by name) followed by non-folder
objects sorted by name.
|
static DataFolder.SortMode |
LAST_MODIFIED
Folders go first (sorted by name) followed by files sorted by decreasing
last modification time.
|
static DataFolder.SortMode |
NAMES
Objects are sorted by their names.
|
static DataFolder.SortMode |
NONE
Objects are unsorted.
|
static DataFolder.SortMode |
SIZE
Folders go first (sorted by name) followed by files sorted by decreasing size.
|
| Constructor and Description |
|---|
SortMode() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final DataFolder.SortMode NONE
public static final DataFolder.SortMode NAMES
public static final DataFolder.SortMode CLASS
public static final DataFolder.SortMode FOLDER_NAMES
public static final DataFolder.SortMode LAST_MODIFIED
public static final DataFolder.SortMode SIZE
Built on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.