Class ListOfStatProbes<E extends StatProbe>
- Direct Known Subclasses:
public class ListOfStatProbes<E extends StatProbe>extends Objectimplements Cloneable, List<E>, RandomAccessRepresents a list of statistical probes that can be managed simultaneously. Each element of this list is a
StatProbeinstance which can be obtained and manipulated.
When constructing a list of statistical probes, one specifies the concrete subclass of the
StatProbeobjects in it. One then creates an empty list of probes, and fills it with statistical probes. If the list is not intended to be modified, one can then use the
setUnmodifiableto prevent any change in the contents of the list.
Each list of statistical probes can have a global name describing the contents of its elements, and local names associated with each individual probe. For example, a list of statistical probes for the waiting times can have the global name Waiting times while the individual probes have local names type 1, type 2, etc. These names are used for formatting reports.
Facilities are provided to fill arrays with sums, averages, etc. obtained from the individual statistical probes. Methods are also provided to manipulate the contents of the list. However, one should always call init immediately after adding or removing statistical probes in the list.