MCPcopy Create free account
hub / github.com/HumbleUI/Skija / formatFloatArray

Method formatFloatArray

examples/scenes/src/Scene.java:67–76  ·  view source on GitHub ↗
(float[] fs)

Source from the content-addressed store, hash-verified

65 }
66
67 public static String formatFloatArray(float[] fs) {
68 StringBuilder sb = new StringBuilder("[");
69 for (int i = 0; i < fs.length; ++i) {
70 sb.append(formatFloat(fs[i]));
71 if (i < fs.length - 1)
72 sb.append(", ");
73 }
74 sb.append("]");
75 return sb.toString();
76 }
77}

Callers 1

drawLineMethod · 0.80

Calls 3

formatFloatMethod · 0.95
appendMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected