public static void parameterNotEmpty ( final String name , final Iterable obj ) { if ( ! obj . iterator ( ) . hasNext ( ) ) { raiseError ( format ( "Parameter '%s' from type '%s' is expected to NOT be empty" , name , obj . getClass ( ) . getName ( ) ) ) ; } }
Validates that the Iterable is not empty