public interface StatisticsType
Statistics
.
To get an instance of this interface use an instance of
StatisticsFactory
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns a description of this statistics type
|
java.lang.String |
getName()
Returns the name of this statistics type
|
StatisticDescriptor[] |
getStatistics()
Returns descriptions of the statistics that this statistics type
gathers together
|
StatisticDescriptor |
nameToDescriptor(java.lang.String name)
Returns the descriptor of the statistic with the given name in this
statistics instance.
|
int |
nameToId(java.lang.String name)
Returns the id of the statistic with the given name in this
statistics instance.
|
java.lang.String getName()
java.lang.String getDescription()
StatisticDescriptor[] getStatistics()
int nameToId(java.lang.String name)
java.lang.IllegalArgumentException
- No statistic named name
exists in this
statistics instance.StatisticDescriptor nameToDescriptor(java.lang.String name)
java.lang.IllegalArgumentException
- No statistic named name
exists in this
statistics instance.