public static void printf ( Closure self , String format , Object value ) { Object owner = getClosureOwner ( self ) ; Object [ ] newValues = new Object [ 2 ] ; newValues [ 0 ] = format ; newValues [ 1 ] = value ; InvokerHelper . invokeMethod ( owner , "printf" , newValues ) ; }
Printf a value to the standard output stream using a format string . This method delegates to the owner to execute the method .