com.ibm.etools.iseries.edit.views
Class ISeriesEditorListingViewer.FileDateComparator
java.lang.Object
com.ibm.etools.iseries.edit.views.ISeriesEditorListingViewer.FileDateComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- ISeriesEditorListingViewer
public class ISeriesEditorListingViewer.FileDateComparator
- extends Object
- implements Comparator
Inner class that compares dates for sorting
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISeriesEditorListingViewer.FileDateComparator
public ISeriesEditorListingViewer.FileDateComparator()
compare
public int compare(Object obj1,
Object obj2)
- Compares its two arguments for order.
Returns a negative integer, zero, or a positive integer
as the first argument is less than, equal to, or greater
than the second. Note that this implementation sorts the
files in reverse order so that the most recent files come
first.
- Specified by:
compare
in interface Comparator
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.