Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                

LambdaFunctionalInterface
Use Java's utility functional interfaces instead of Function for primitive types.

Severity
SUGGESTION

The problem

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

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("LambdaFunctionalInterface") to the enclosing element.