|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eml.sir.rel.FrequencyItem
An instance of this class contains information regarding a String and its frequency. A FrequencyItem is used to count and sort String occurrences.
Constructor Summary | |
FrequencyItem()
Create a new instance of FrequencyItem. |
|
FrequencyItem(java.lang.String graphs,
int number)
Create a new instance of FrequencyItem. |
Method Summary | |
int |
getFrequency()
Return the frequency of this FrequencyItem. |
java.lang.String |
getGraphs()
Return the String of this FrequencyItem. |
void |
setFrequency(int number)
Set the frequency of this FrequencyItem. |
void |
setGraphs(java.lang.String graphs)
Set the String of this FrequencyItem. |
java.lang.String |
toString()
Return a String representation of this FrequencyItem. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FrequencyItem()
public FrequencyItem(java.lang.String graphs, int number)
Method Detail |
public java.lang.String getGraphs()
public int getFrequency()
public void setGraphs(java.lang.String graphs)
public void setFrequency(int number)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |