Primitive Type Specializations of BiConsumer – Functional-Style Programming

Primitive Type Specializations of BiConsumer<T, U> Table 13.6 shows the generic functional interfaces ObjIntConsumer<T>, ObjLongConsumer<T>, and ObjDoubleConsumer<T> that are specializations of the BiConsumer<T, U> interface. The functional method accept() of these primitive type specializations takes two arguments: One is an object of type T and the other is a primitive value. These functional interfaces are … Read morePrimitive Type Specializations of BiConsumer – Functional-Style Programming