collect
Parameters
states
an array of states to collect on, must not be null
Parameters
states
a list of states to collect on, must not be null
Tabulate statistics on the state occurrences
Parameters
state
if state is not one of the states created by this StateFrequency then it is not tabulated (i.e. it is ignored)