Interface CollectorIfc

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void collect​(boolean value)
      Collects statistics on the boolean value true = 1.0, false = 0.0
      void collect​(double value)
      Collect on the supplied value
      default void collect​(double[] values)
      Collects statistics on the values in the supplied array.
      default void collect​(GetValueIfc v)
      Collects statistics on the values returned by the supplied GetValueIfc
      void reset()
      Resets the collector as if no observations had been collected.
    • Method Detail

      • collect

        default void collect​(GetValueIfc v)
        Collects statistics on the values returned by the supplied GetValueIfc
        Parameters:
        v - the object that returns the value to be collected
      • collect

        default void collect​(boolean value)
        Collects statistics on the boolean value true = 1.0, false = 0.0
        Parameters:
        value - the value to collect on
      • collect

        void collect​(double value)
        Collect on the supplied value
        Parameters:
        value - a double representing the observation
      • collect

        default void collect​(double[] values)
        Collects statistics on the values in the supplied array.
        Parameters:
        values - the values, must not be null
      • reset

        void reset()
        Resets the collector as if no observations had been collected.