Back to Error Prone

LambdaFunctionalInterface

docs/bugpattern/LambdaFunctionalInterface.md

2.49.0157 B
Original Source

Prefer specialized functional interface types for primitives, for example IntToLongFunction instead of Function<Integer, Long>, to avoid boxing overhead.