newsplugin
Class NewsList
java.lang.Object
newsplugin.NewsList
public class NewsList
- extends Object
A class with the news in a backward time sorted list.
- Author:
- René Mach
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mList
ArrayList<News> mList
NewsList
public NewsList()
add
public void add(News news)
- Adds a news sorted into the list.
- Parameters:
news - The news to add.
getList
public ArrayList<News> getList()
- Gets the ArrayList with the news.
- Returns:
- The ArrayList with the news
getLastNewsTime
public long getLastNewsTime(long defaultValue)
- Gets the last news time.
- Parameters:
defaultValue - The default value to return if there are
no news.
- Returns:
- The last news time.
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)