|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.sort.AbstractSorter
Abstract class implementing Comparator and taking a Hashtable of RSSNewsItems as the list of elements givin the ordering consists of keys to retrieve those RSSNewsItems from the Hashtable.
| Field Summary | |
private Hashtable |
items
Holds the Hashtable of RSSNewsItems |
| Constructor Summary | |
protected |
AbstractSorter(Hashtable someItems)
Creates a new instance of AbstractSorter. |
| Method Summary | |
protected int |
completeCompare(Object o1,
Object o2)
This method is called in case two newsitems with the same values where compared with. |
protected Hashtable |
getItems()
Gets the Hashtable of RSSNewsItems. |
protected void |
setItems(Hashtable someItems)
Sets the Hashtable of RSSNewsItems. |
| 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 |
compare, equals |
| Field Detail |
private Hashtable items
| Constructor Detail |
protected AbstractSorter(Hashtable someItems)
someItems - a Hashtable containing RSSNewsItems, may be null.| Method Detail |
protected int completeCompare(Object o1,
Object o2)
o1 - the first key (news title) to retrieve the first NewsItem to
compareo2 - the second key (news title) to retrieve the second NewsItem to
compare
protected Hashtable getItems()
protected void setItems(Hashtable someItems)
someItems - a Hashtable containing RSSNewsItems, may be null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||