allensoft.javacvs.client.ui.swing
Class WorkingDirectoryTable.EntryComparator

java.lang.Object
  |
  +--allensoft.gui.SortedTableModel.DefaultComparator
        |
        +--allensoft.javacvs.client.ui.swing.WorkingDirectoryTable.EntryComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
WorkingDirectoryTable

public static class WorkingDirectoryTable.EntryComparator
extends SortedTableModel.DefaultComparator

A comparator that organizes directories first and then files in alphabetical order.


Constructor Summary
WorkingDirectoryTable.EntryComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

WorkingDirectoryTable.EntryComparator

public WorkingDirectoryTable.EntryComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Overrides:
compare in class SortedTableModel.DefaultComparator