Class ByteSummaryStatistics

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

public class ByteSummaryStatistics extends Object implements ByteConsumer
  • Constructor Details

    • ByteSummaryStatistics

      public ByteSummaryStatistics()
    • ByteSummaryStatistics

      public ByteSummaryStatistics(long count, byte min, byte max, long sum)
      Parameters:
      count -
      min -
      max -
      sum -
  • Method Details

    • accept

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

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

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

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

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

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

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

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