Primitive Type Specializations of BinaryOperator – Functional-Style Programming
Primitive Type Specializations of BinaryOperator<T> Table 13.10 shows that the BinaryOperator<T> interface has three primitive type specializations to int, long, and double. The specializations are named PrimBinaryOperator, where Prim is either an Int, Long, or Double (Table 13.10). These primitive type binary operators have the functional method applyAsPrim: (primitive, primitive) -> primitive, where primitive is … Read morePrimitive Type Specializations of BinaryOperator – Functional-Style Programming