Class CrossSection.Integer

    • Constructor Detail

      • Integer

        public Integer​(java.util.Collection<?> source,
                       java.lang.Enum<?> valueID)
        Create a statistic probe on a collection of IIntSource objects.
        Parameters:
        source - The collection containing IIntSource object.
        valueID - The value identifier defined by source object.
      • Integer

        public Integer​(java.util.Collection<?> source)
        Create a statistic probe on a collection of IIntSource objects. It uses the IIntSource.DEFAULT variable id.
        Parameters:
        source - The collection containing IIntSource object.
      • Integer

        public Integer​(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.
    • Method Detail

      • getIntArray

        public int[] getIntArray()
        Description copied from interface: IIntArraySource
        Return the currently cached array of integer values.
        Specified by:
        getIntArray in interface IIntArraySource
        Returns:
        An array of integer or a null pointer if the source is empty.
      • getDoubleArray

        public double[] getDoubleArray()
      • toString

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