public boolean hasIntParam(String key) { if (this.hasParam(key)) { try { Long val = Long.valueOf(this.params.get(key)); if (val != null) return (true); } catch (NumberFormatException ex) { // Nothing... } } return (false); }
public Long getLongParam(String key) { String val = this.params.get(key); Long ret = null; if (val != null) ret = Long.valueOf(val); return (ret); }