public static Object [ ] getAll ( final Supplier < ? > ... suppliers ) { if ( suppliers == null ) { return null ; } final Object [ ] result = new Object [ suppliers . length ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = get ( suppliers [ i ] ) ; } return result ; }
Converts an array of lambda expressions into an array of their evaluation results .