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.
Consumes a bin and corresponding count.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-