| Constructor and Description |
|---|
Stats.Statistics() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCountBySource(String source)
Get a sub-total for a specific source.
|
Set<String> |
getSources()
Gets a set of sources for which a sub-total
is available.
|
int |
getTotal()
Gets the total for this statistic.
|
void |
setCountBySource(String source,
int count)
Sets the sub-total for a specific source.
|
void |
setTotal(int total)
Sets the total for this statistic.
|
public int getTotal()
public void setTotal(int total)
total - public Set<String> getSources()
public int getCountBySource(String source)
source - source namepublic void setCountBySource(String source, int count)
source - source namecount - sub-total or -1 if it is not knownCopyright © 2012. All Rights Reserved.