private void specialisedFunctions(){
  Function<Integer,Employee> empFunction=null;
  IntFunction<Employee> empFunction2=null;
  DoubleFunction<String> doubleFunction=null;
  doubleFunction.apply(3.14);
  LongFunction<Patient> longFunction=null;
  longFunction.apply(10L);
}

private void specialisedFunctions ( ) { Function < Integer , Employee > empFunction = null ; IntFunction < Employee > empFunction2 = null ; DoubleFunction < String > doubleFunction = null ; doubleFunction . apply ( 3.14 ) ; LongFunction < Patient > longFunction = null ; longFunction . apply ( 10L ) ; }
functions specialised for primitives
