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

Method getFloatArray

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

Get this entire array as a float array. Everything must be an float.

()

Source from the content-addressed store, hash-verified

601
602 /** Get this entire array as a float array. Everything must be an float. */
603 public float[] getFloatArray() {
604 float[] outgoing = new float[size()];
605 for (int i = 0; i < size(); i++) {
606 outgoing[i] = getFloat(i);
607 }
608 return outgoing;
609 }
610
611
612 /** Get this entire array as a double array. Everything must be an double. */

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
getFloatMethod · 0.95

Tested by

no test coverage detected