Class PicLinkSortByDate

java.lang.Object
  |
  +--PicLinkSortByDate
All Implemented Interfaces:
java.util.Comparator

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

This Comparator compares PicLinks first by date, then by filename.

Author:
John E. Darrow (c) 2000, 2001

Constructor Summary
PicLinkSortByDate()
           
 
Method Summary
 int compare(java.lang.Object ob1, java.lang.Object ob2)
          Compares two pictures by date, then by filename.
 
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

PicLinkSortByDate

public PicLinkSortByDate()
Method Detail

compare

public int compare(java.lang.Object ob1,
                   java.lang.Object ob2)
Compares two pictures by date, then by filename.
Specified by:
compare in interface java.util.Comparator