Home » openjdk-7 » sun » swing » [javadoc | source]
sun.swing
class: FilePane.DirectoriesFirstComparatorWrapper [javadoc | source]
java.lang.Object
   sun.swing.FilePane$DirectoriesFirstComparatorWrapper

All Implemented Interfaces:
    Comparator

This class sorts directories before files, comparing directory to directory and file to file using the wrapped comparator.
Constructor:
 public DirectoriesFirstComparatorWrapper(int column,
    Comparator comparator) 
Method from sun.swing.FilePane$DirectoriesFirstComparatorWrapper Summary:
compare
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.swing.FilePane$DirectoriesFirstComparatorWrapper Detail:
 public int compare(File f1,
    File f2)