public class NewsList extends Object
Constructor and Description |
---|
NewsList() |
Modifier and Type | Method and Description |
---|---|
void |
add(News news)
Adds a news sorted into the list.
|
long |
getLastNewsTime(long defaultValue)
Gets the last news time.
|
ArrayList |
getList()
Gets the ArrayList with the news.
|
ArrayList mList
public void add(News news)
news
- The news to add.public ArrayList getList()
public long getLastNewsTime(long defaultValue)
defaultValue
- The default value to return if there are
no news.TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)