Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number. If the value is a string, an attempt will be made to evaluate it as a number. @param key A key string. @return An object which is the value.
(String key)
| 834 | * @return An object which is the value. |
| 835 | */ |
| 836 | public int optInt(String key) { |
| 837 | return optInt(key, 0); |
| 838 | } |
| 839 | |
| 840 | |
| 841 | /** |