Returns the value at index if it exists and is an int or can be coerced to an int. Returns 0 otherwise.
(int index)
| 395 | * can be coerced to an int. Returns 0 otherwise. |
| 396 | */ |
| 397 | public int optInt(int index) { |
| 398 | return optInt(index, 0); |
| 399 | } |
| 400 | |
| 401 | /** |
| 402 | * Returns the value at {@code index} if it exists and is an int or |