org.gerhardb.lib.filetree
Class FileComparator

java.lang.Object
  extended byorg.gerhardb.lib.filetree.FileComparator
All Implemented Interfaces:
java.util.Comparator

public class FileComparator
extends java.lang.Object
implements java.util.Comparator


Field Summary
static FileComparator COMPARATOR
           
 
Constructor Summary
FileComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPARATOR

public static final FileComparator COMPARATOR
Constructor Detail

FileComparator

public FileComparator()
Method Detail

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Comparator

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2002 Gerhard Beck. All rights reserved. Subject to GPL.