If the object stored under key is a Boolean then returns its value otherwise returns false. @param key key associated to the value to retrieve @return the associated boolean
(Object key)
| 110 | * @return the associated boolean |
| 111 | */ |
| 112 | public Boolean getBoolean(Object key) { |
| 113 | try { |
| 114 | return Boolean.valueOf((String) get(key)); |
| 115 | } catch (Exception e) { |
| 116 | return false; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | public Boolean getBoolean(Object key, Boolean defaultValue) { |
| 121 | try { |