Functional is declared as:
Object functionName(@Nullable long inputPar)
@Nullable
annotation accepts null as input parameter on the function call.
Could I, inside the function, write a condition asking if the inputPar
is null?
if(inputPar == null)
is invalid, since it's a primitive type. What would be the most efficient alternative approach?