public boolean hasBooleanParam(String key) { if (this.hasParam(key)) { Boolean val = Boolean.valueOf(this.params.get(key)); if (val != null) return (true); } return (false); }
public Boolean getBooleanParam(String key, Boolean defaultValue) { String val = this.params.get(key); Boolean ret = defaultValue; if (val != null) ret = Boolean.valueOf(val); return (ret); }