de.schlichtherle.truezip.file.swing
Class TFileTree.FileComparator
java.lang.Object
de.schlichtherle.truezip.file.swing.TFileTree.FileComparator
- All Implemented Interfaces:
- Serializable, Comparator<TFile>
- Enclosing class:
- TFileTree
private static final class TFileTree.FileComparator
- extends Object
- implements Comparator<TFile>, Serializable
Compares two files by their status and path name, so that directories
are always ordered before other files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
TFileTree.FileComparator
private TFileTree.FileComparator()
compare
public int compare(TFile f1,
TFile f2)
- Specified by:
compare in interface Comparator<TFile>
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.