Interface Histogram.BinConsumer

Enclosing class:
Histogram
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Histogram.BinConsumer
Consumes a bin and corresponding count.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int bin, int count)
    Accepts a particular bin and corresponding count.
  • Method Details

    • accept

      void accept(int bin, int count)
      Accepts a particular bin and corresponding count.
      Parameters:
      bin - the bin.
      count - the corresponding count.