Get an optional long 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)
| 895 | * @return An object which is the value. |
| 896 | */ |
| 897 | public long optLong(String key) { |
| 898 | return optLong(key, 0); |
| 899 | } |
| 900 | |
| 901 | |
| 902 | /** |