jas.statistics
Class Series.Float

java.lang.Object
  extended by jas.statistics.Series
      extended by jas.statistics.Series.Float
All Implemented Interfaces:
ISimEventListener, IFloatArraySource, IUpdatableSource
Enclosing class:
Series

public static class Series.Float
extends Series
implements IFloatArraySource


Nested Class Summary
 
Nested classes/interfaces inherited from class jas.statistics.Series
Series.Double, Series.Float, Series.Integer, Series.Long
 
Constructor Summary
Series.Float(IFloatSource source)
          Create a statistic probe on a collection of IFloatSource objects.
Series.Float(IFloatSource source, int valueID)
          Create a statistic probe on a collection of IDblSource objects.
Series.Float(java.lang.Object source, java.lang.String valueName, boolean getFromMethod)
          Create a basic statistic probe on a collection of objects.
 
Method Summary
 double[] getDoubleArray()
           
 float[] getFloatArray()
          Return the currently cached array of float values.
 cern.colt.list.FloatArrayList getFloatArrayList()
           
 java.lang.String toString()
           
 void updateSource()
          Force the source to update its currently cached data.
 
Methods inherited from class jas.statistics.Series
isCheckingTime, performAction, setCheckingTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Series.Float

public Series.Float(IFloatSource source)
Create a statistic probe on a collection of IFloatSource objects. It uses the IFloatSource variable id.

Parameters:
source - The collection containing IDoubleSource object.

Series.Float

public Series.Float(IFloatSource source,
                    int valueID)
Create a statistic probe on a collection of IDblSource objects.

Parameters:
name - Name of the statistic object.
source - The collection containing IDblSource object.
valueID - The value identifier defined by source object.

Series.Float

public Series.Float(java.lang.Object source,
                    java.lang.String valueName,
                    boolean getFromMethod)
Create a basic statistic probe on a collection of objects.

Parameters:
name - Name of the statistic object.
source - A collection of generic objects.
objectClass - The class of the objects contained by collection source.
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.
Method Detail

getDoubleArray

public double[] getDoubleArray()

getFloatArray

public float[] getFloatArray()
Description copied from interface: IFloatArraySource
Return the currently cached array of float values.

Specified by:
getFloatArray in interface IFloatArraySource
Returns:
An array of float or a null pointer if the source is empty.

getFloatArrayList

public cern.colt.list.FloatArrayList getFloatArrayList()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

updateSource

public void updateSource()
Description copied from interface: IUpdatableSource
Force the source to update its currently cached data.

Specified by:
updateSource in interface IUpdatableSource
Specified by:
updateSource in class Series