Inserts a new value into the JSONArray at the specified index position. If a value already exists in the specified position, the new value overwrites the old value. If the given index is greater than the length of the JSONArray , then null elements will be added as necessary to pad it o
(int index, int value)
| 961 | * @see JSONArray#setBoolean(int, boolean) |
| 962 | */ |
| 963 | public JSONArray setInt(int index, int value) { |
| 964 | this.set(index, Integer.valueOf(value)); |
| 965 | return this; |
| 966 | } |
| 967 | |
| 968 | |
| 969 | /** |