Class Weighted_CrossSection.Long

    • Constructor Detail

      • Long

        public Long​(java.util.Collection<? extends Weight> source,
                    java.lang.Enum<?> 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.
      • Long

        public Long​(java.util.Collection<? extends Weight> 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.
      • Long

        public Long​(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.