code: public static boolean containNumber(String str) {
  		for (int i = 0; i < str.length(); i++) {
  		    if (Character.isDigit(str.charAt(i))) {
  			return true;
  		    }
  		}		
  		return false;
      }
docs: Contain number.
  
  @param str the str
  @return true, if successful