net.sf.tacos.demo.tree.fs
Class FileComparator

java.lang.Object
  extended by net.sf.tacos.demo.tree.fs.FileComparator
All Implemented Interfaces:
Comparator

public class FileComparator
extends Object
implements Comparator

Author:
phraktle

Field Summary
static Comparator INSTANCE
           
 
Constructor Summary
FileComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Compares two values
 
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
 

Field Detail

INSTANCE

public static final Comparator INSTANCE
Constructor Detail

FileComparator

public FileComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Compares two values

Specified by:
compare in interface Comparator
Parameters:
o1 -
o2 -
Returns: