question: public static void checkNotEmpty ( Collection collection ) { if ( collection . isEmpty ( ) ) { throw new NullPointerException ( ) ; } }
target:  Ensures that a collection reference passed as a parameter to the calling method is not empty.