Get the optional int value associated with an index. Zero is returned if there is no value for the index, or if the value is not a number and cannot be converted to a number. @param index The index must be between 0 and length() - 1. @return The value.
(int index)
| 456 | * @return The value. |
| 457 | */ |
| 458 | public int optInt(int index) { |
| 459 | return optInt(index, 0); |
| 460 | } |
| 461 | |
| 462 | |
| 463 | /** |