|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--textminer.ds.FinancialDataSet
The FinancialDataSet is the abstraction of a collection of financial news articles.
It is responsible for maintaining a set of financial news articles which belong to the same physical file.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
FinancialDataSet()
Constructor of FinancailDataSet |
|
| Method Summary | |
FinancialData |
find(java.lang.String id)
Find a news article associated with the specified id |
void |
insert(java.lang.String id,
java.lang.String title,
java.lang.String date,
java.lang.String source,
java.lang.String url,
java.lang.String company,
java.lang.String body,
java.lang.String label)
Insert the specified element to this FinancialDataSet |
void |
printAll()
Print all elements of this FinancialDataSet |
void |
removeAll()
Remove all elements from this FinancialDataSet |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
| Constructor Detail |
public FinancialDataSet()
| Method Detail |
public void removeAll()
public void insert(java.lang.String id,
java.lang.String title,
java.lang.String date,
java.lang.String source,
java.lang.String url,
java.lang.String company,
java.lang.String body,
java.lang.String label)
id - identifier of a news aritlce to be insertedtitle - title of a news article to be inserteddate - published date of a news article to be insertedsource - news provider of a news article to be insertedcompany - company that a news article to be inserted mainly discussed aboutbody - content body of a news article to be insertedlabel - target class of a news article to be insertedpublic FinancialData find(java.lang.String id)
id - identifier of a news article to be returned
public void printAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||