Class FloatSummaryStatistics

java.lang.Object
com.landawn.abacus.util.FloatSummaryStatistics
All Implemented Interfaces:
FloatConsumer, Throwables.FloatConsumer<RuntimeException>

public class FloatSummaryStatistics extends Object implements FloatConsumer
  • Constructor Details

    • FloatSummaryStatistics

      public FloatSummaryStatistics()
    • FloatSummaryStatistics

      public FloatSummaryStatistics(long count, float min, float max, double sum)
      Parameters:
      count -
      min -
      max -
      sum -
  • Method Details

    • accept

      public void accept(float value)
      Specified by:
      accept in interface FloatConsumer
      Specified by:
      accept in interface Throwables.FloatConsumer<RuntimeException>
      Parameters:
      value -
    • combine

      public void combine(FloatSummaryStatistics other)
      Parameters:
      other -
    • getMin

      public final float getMin()
      Gets the min.
      Returns:
    • getMax

      public final float getMax()
      Gets the max.
      Returns:
    • getCount

      public final long getCount()
      Gets the count.
      Returns:
    • getSum

      public final Double getSum()
      Gets the sum.
      Returns:
    • getAverage

      public final Double getAverage()
      Gets the average.
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns: