|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.sort.AbstractSorter
public abstract class 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 java.util.Hashtable |
items
Holds the Hashtable of RSSNewsItems |
| Constructor Summary | |
|---|---|
protected |
AbstractSorter(java.util.Hashtable someItems)
Creates a new instance of AbstractSorter. |
| Method Summary | |
|---|---|
protected int |
completeCompare(java.lang.Object o1,
java.lang.Object o2)
This method is called in case two newsitems with the same values where compared with. |
protected java.util.Hashtable |
getItems()
Gets the Hashtable of RSSNewsItems. |
protected void |
setItems(java.util.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 java.util.Hashtable items
| Constructor Detail |
|---|
protected AbstractSorter(java.util.Hashtable someItems)
someItems - a Hashtable containing RSSNewsItems, may be null.| Method Detail |
|---|
protected int completeCompare(java.lang.Object o1,
java.lang.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 java.util.Hashtable getItems()
protected void setItems(java.util.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 | |||||||||