1920212223242526272829
* Check a given string is an integer value or not. */ public static boolean isInteger(String val) { Parser p = new Parser(val); String ret = p.parseInteger(); if (ret != null && p.isEnd()) { return true; } else { return false; }