示例#1
0
 public boolean hasBooleanParam(String key) {
   if (this.hasParam(key)) {
     Boolean val = Boolean.valueOf(this.params.get(key));
     if (val != null) return (true);
   }
   return (false);
 }
示例#2
0
 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);
 }