|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.io.VFS.DirectoryEntryCompare
public static class VFS.DirectoryEntryCompare
Implementation of Comparator
interface that compares VFS.DirectoryEntry
instances.
Constructor Summary | |
---|---|
VFS.DirectoryEntryCompare(boolean sortMixFilesAndDirs,
boolean sortIgnoreCase)
Creates a new DirectoryEntryCompare . |
Method Summary | |
---|---|
int |
compare(VFSFile file1,
VFSFile file2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public VFS.DirectoryEntryCompare(boolean sortMixFilesAndDirs, boolean sortIgnoreCase)
DirectoryEntryCompare
.
sortMixFilesAndDirs
- If false, directories are
put at the top of the listing.sortIgnoreCase
- If false, upper case comes before
lower case.Method Detail |
---|
public int compare(VFSFile file1, VFSFile file2)
compare
in interface java.util.Comparator<VFSFile>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |