public static boolean isNumber(CharSequence s) {
		boolean ret = true;
		for (int i = 0; ret && i < s.length(); i++) {
			Character c = s.charAt(i);
			if (i == 0 && c == '-') continue;
			if (!Character.isDigit(c)) ret = false;
		}
		return ret;
	}