MCPcopy Index your code
hub / github.com/processing/processing / getIntArray

Method getIntArray

core/src/processing/data/JSONArray.java:583–589  ·  view source on GitHub ↗

Get this entire array as an int array. Everything must be an int. @webref jsonarray:method @brief Gets the entire array as array of ints @see JSONArray#getStringArray()

()

Source from the content-addressed store, hash-verified

581 * @see JSONArray#getStringArray()
582 */
583 public int[] getIntArray() {
584 int[] outgoing = new int[size()];
585 for (int i = 0; i < size(); i++) {
586 outgoing[i] = getInt(i);
587 }
588 return outgoing;
589 }
590
591
592 /** Get this entire array as a long array. Everything must be an long. */

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
getIntMethod · 0.95

Tested by

no test coverage detected