jas.statistics
Class CrossSection.Long
java.lang.Object
  
jas.statistics.CrossSection
      
jas.statistics.CrossSection.Long
- All Implemented Interfaces: 
 - ISimEventListener, ILongArraySource, ISourceObjectArray, IUpdatableSource
 
- Enclosing class:
 - CrossSection
 
public static class CrossSection.Long
- extends CrossSection
- implements ILongArraySource
  
 
 
| 
Constructor Summary | 
CrossSection.Long(java.util.Collection source)
 
          Create a statistic probe on a collection of ILongSource objects. | 
CrossSection.Long(java.util.Collection source,
                  java.lang.Class objectClass,
                  java.lang.String valueName,
                  boolean getFromMethod)
 
          Create a basic statistic probe on a collection of objects. | 
CrossSection.Long(java.util.Collection source,
                  int valueID)
 
          Create a statistic probe on a collection of ILongSource objects. | 
 
 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
CrossSection.Long
public CrossSection.Long(java.util.Collection source)
- Create a statistic probe on a collection of ILongSource objects.
 It uses the ILongSource.DEFAULT variable id.
- Parameters:
 source - The collection containing ILongSource object.
 
CrossSection.Long
public CrossSection.Long(java.util.Collection source,
                         java.lang.Class objectClass,
                         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.
 
CrossSection.Long
public CrossSection.Long(java.util.Collection source,
                         int valueID)
- Create a statistic probe on a collection of ILongSource objects.
- Parameters:
 source - The collection containing ILongSource object.valueID - The value identifier defined by source object.
 
getDoubleArray
public double[] getDoubleArray()
 
 
getLongArray
public long[] getLongArray()
- Description copied from interface: 
ILongArraySource 
- Return the currently cached array of long values.
- Specified by:
 getLongArray in interface ILongArraySource
 
- Returns:
 - An array of long or a null pointer if the source is empty.
 
 
 
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 CrossSection