Class Weighted_CrossSection.Double

    • Constructor Detail

      • Double

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

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

        public Double​(java.util.Collection<? extends Weight> source,
                      java.lang.Class<? extends Weight> objectClass,
                      java.lang.String valueName,
                      boolean getFromMethod)
        Create a basic statistic probe on a collection of objects.
        Parameters:
        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.