Skip to content

Commit 763d7c5

Browse files
committed
Added reference for all JSONArray get and set methods
1 parent cb9c277 commit 763d7c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/processing/data/JSONArray.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public JSONObject getJSONObject(int index) {
432432
* Get this entire array as a String array.
433433
*
434434
* @webref jsonarray:method
435-
* @brief Get this entire array as a String array
435+
* @brief Gets the entire array as an array of Strings
436436
*/
437437
public String[] getStringArray() {
438438
String[] outgoing = new String[size()];
@@ -447,7 +447,7 @@ public String[] getStringArray() {
447447
* Get this entire array as an int array. Everything must be an int.
448448
*
449449
* @webref jsonarray:method
450-
* @brief Get this entire array as an int array
450+
* @brief Gets the entire array as array of ints
451451
*/
452452
public int[] getIntArray() {
453453
int[] outgoing = new int[size()];
@@ -823,7 +823,7 @@ protected JSONArray append(Object value) {
823823
* it out.
824824
*
825825
* @webref jsonarray:method
826-
* @brief Put a key/String pair in the JSONArray
826+
* @brief Put a String value in the JSONArray
827827
* @param index an index value
828828
* @param value the value to assign
829829
* @return this.
@@ -841,7 +841,7 @@ public JSONArray setString(int index, String value) {
841841
* it out.
842842
*
843843
* @webref jsonarray:method
844-
* @brief Put a key/int pair in the JSONArray
844+
* @brief Put an int value in the JSONArray
845845
* @param index an index value
846846
* @param value the value to assign
847847
* @return this.
@@ -874,7 +874,7 @@ public JSONArray setLong(int index, long value) {
874874
* setDouble(value).
875875
*
876876
* @webref jsonarray:method
877-
* @brief Put a key/float pair in the JSONArray
877+
* @brief Put a float value in the JSONArray
878878
* @param index an index value
879879
* @param value the value to assign
880880
* @return this.
@@ -907,7 +907,7 @@ public JSONArray setDouble(int index, double value) {
907907
* necessary to pad it out.
908908
*
909909
* @webref jsonarray:method
910-
* @brief Put a key/boolean pair in the JSONArray
910+
* @brief Put a boolean value in the JSONArray
911911
* @param index an index value
912912
* @param value the value to assign
913913
* @return this.

0 commit comments

Comments
 (0)