question: public static boolean isNumbersOrPunctuation ( String token ) { int len = token . length ( ) ; for ( int i = 0 ; i < len ; ++ i ) { char c = token . charAt ( i ) ; if ( ! ( Character . isDigit ( c ) || Characters . isPunctuation ( c ) ) ) { return false ; } } return true ; }
target:  True if a token consists entirely of numbers and punctuation, and false otherwise.