Put or replace an int value. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. @webref jsonarray:method @brief Put an int value in the JSONArray @param index an index value @param value the value to assign @return this. @throws
(int index, int value)
| 883 | * @see JSONArray#setBoolean(int, boolean) |
| 884 | */ |
| 885 | public JSONArray setInt(int index, int value) { |
| 886 | this.set(index, Integer.valueOf(value)); |
| 887 | return this; |
| 888 | } |
| 889 | |
| 890 | |
| 891 | /** |