Future < T > function ( final Function1 < Object , T > arg0 ) { return executorService . submit ( new Callable < T > ( ) { @ Override public T call ( ) throws Exception { return arg0 . apply ( null ) ; } } ) ; }
the method ensures that the given lamdaexp is executed in a dedicated thread . concode_field_sep ExecutorService executorService concode_field_sep placeholderType placeHolder