@Test public void testIsNumeric() throws Exception { Assert.assertTrue(isNumeric("10")); Assert.assertFalse(isNumeric("10a")); Assert.assertTrue(isNumeric("6548")); }
public static boolean isNumeric(String maybeNumeric) { return maybeNumeric != null && maybeNumeric.matches("[0-9]+"); }
StringUtils { public static boolean isNumeric(String maybeNumeric) { return maybeNumeric != null && maybeNumeric.matches("[0-9]+"); } }
StringUtils { public static boolean isNumeric(String maybeNumeric) { return maybeNumeric != null && maybeNumeric.matches("[0-9]+"); }  }
StringUtils { public static boolean isNumeric(String maybeNumeric) { return maybeNumeric != null && maybeNumeric.matches("[0-9]+"); }  static boolean isNumeric(String maybeNumeric); static boolean validateCNPJ(String CNPJ); static String reverseString(String str); static void appendVarArgs(StringBuilder sb, String... strings); static boolean validateElectronicTaxReceiptAccessKey(String accessKey); static String removeNonNumeric(String text); }
StringUtils { public static boolean isNumeric(String maybeNumeric) { return maybeNumeric != null && maybeNumeric.matches("[0-9]+"); }  static boolean isNumeric(String maybeNumeric); static boolean validateCNPJ(String CNPJ); static String reverseString(String str); static void appendVarArgs(StringBuilder sb, String... strings); static boolean validateElectronicTaxReceiptAccessKey(String accessKey); static String removeNonNumeric(String text);  }