Put or replace a long value. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. @param index The subscript. @param value A long value. @return this. @throws RuntimeException If the index is negative.
(int index, long value)
| 898 | * @throws RuntimeException If the index is negative. |
| 899 | */ |
| 900 | public JSONArray setLong(int index, long value) { |
| 901 | return set(index, Long.valueOf(value)); |
| 902 | } |
| 903 | |
| 904 | |
| 905 | /** |