org.sadun.util.polling
Class FIFOFileComparator

java.lang.Object
  extended byorg.sadun.util.BidirectionalComparator
      extended byorg.sadun.util.polling.DirectoryPoller.ModificationTimeComparator
          extended byorg.sadun.util.polling.FIFOFileComparator
All Implemented Interfaces:
java.util.Comparator

public class FIFOFileComparator
extends DirectoryPoller.ModificationTimeComparator

A comparator which produces a FIFO ordering on the files appearing in a directory (using the last modification time).

Author:
Cristiano Sadun

Field Summary
 
Fields inherited from class org.sadun.util.BidirectionalComparator
ascending
 
Constructor Summary
FIFOFileComparator()
           
 
Methods inherited from class org.sadun.util.polling.DirectoryPoller.ModificationTimeComparator
getComparisonValue
 
Methods inherited from class org.sadun.util.BidirectionalComparator
compare, computeResultFromValue
 
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

FIFOFileComparator

public FIFOFileComparator()


Copyright © 1999, 2000 Cristiano Sadun. This software is released under GPL.