Package microsim.statistics
Class Series.Integer
java.lang.Object
microsim.statistics.Series
microsim.statistics.Series.Integer
- All Implemented Interfaces:
EventListener,IntArraySource,UpdatableSource
- Enclosing class:
Series
-
Nested Class Summary
Nested classes/interfaces inherited from class microsim.statistics.Series
Series.Double, Series.Integer, Series.Long -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntSourceprotected Enum<?>protected microsim.statistics.Series.BufferedIntArrayListFields inherited from class microsim.statistics.Series
timeChecker -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class microsim.statistics.Series
isCheckingTime, onEvent, setCheckingTime
-
Field Details
-
valueList
protected microsim.statistics.Series.BufferedIntArrayList valueList -
target
-
valueID
-
-
Constructor Details
-
Integer
Creates a statistic probe on a collection ofIntSourceobjects.- Parameters:
source- The collection containingIntSourceobject.valueID- The value identifier defined by source object.- Throws:
NullPointerException- when any of the input parameters isnull.
-
Integer
- Parameters:
source- The collection containingIntSourceobject.- Throws:
NullPointerException- whensourceisnull.
-
Integer
public Integer(@NonNull @NonNull Object source, @NonNull @NonNull String valueName, boolean getFromMethod) Creates a basic statistic probe on a collection of objects.- Parameters:
source- A collection of generic objects.valueName- The name of the field or the method returning the variable to be probed.getFromMethod- Specifies if valueName is a method or a property value.- Throws:
NullPointerException- when any of the input parameters isnull.
-
-
Method Details
-
getIntArray
public int @NonNull [] getIntArray()Description copied from interface:IntArraySourceReturns a particular array ofintegervalues.- Specified by:
getIntArrayin interfaceIntArraySource- Returns:
- an array of
integer.
-
getDoubleArray
public double @NonNull [] getDoubleArray() -
getIntArrayList
@NonNull public @NonNull cern.mateba.list.tint.IntArrayList getIntArrayList() -
toString
-
updateSource
public void updateSource()Description copied from interface:UpdatableSourceForces the source to update its currently cached data.- Specified by:
updateSourcein interfaceUpdatableSource- Specified by:
updateSourcein classSeries
-