| java.lang.Object de.nava.informa.utils.ItemComparator
ItemComparator | public class ItemComparator implements Comparator<ItemIF>(Code) | | Custom comparator for ItemIF objects, which takes the date the news
item was found into account.
author: Niko Schmuck (niko@nava.de) |
Constructor Summary | |
public | ItemComparator() Default constructor using ascending dates (oldes first) and using
the date specified by the item (as opposed to the date the item
was found by retrieving). | public | ItemComparator(boolean reverseOrder) | public | ItemComparator(boolean reverseOrder, boolean useFoundDate) |
ItemComparator | public ItemComparator()(Code) | | Default constructor using ascending dates (oldes first) and using
the date specified by the item (as opposed to the date the item
was found by retrieving).
|
ItemComparator | public ItemComparator(boolean reverseOrder)(Code) | | |
ItemComparator | public ItemComparator(boolean reverseOrder, boolean useFoundDate)(Code) | | |
getReverseOrder | public boolean getReverseOrder()(Code) | | |
getUseFoundDate | public boolean getUseFoundDate()(Code) | | |
setReverseOrder | public void setReverseOrder(boolean reverseOrder)(Code) | | |
setUseFoundDate | public void setUseFoundDate(boolean useFoundDate)(Code) | | |
|
|