MCPcopy Index your code
hub / github.com/davidgiven/luje / fill

Method fill

lib/java/util/Arrays.java:471–475  ·  view source on GitHub ↗

Fills the specified array with the specified element. @param array the byte array to fill. @param value the byte element.

(byte[] array, byte value)

Source from the content-addressed store, hash-verified

469 * the {@code byte} element.
470 */
471 public static void fill(byte[] array, byte value) {
472 for (int i = 0; i < array.length; i++) {
473 array[i] = value;
474 }
475 }
476
477 /**
478 * Fills the specified range in the array with the specified element.

Callers 9

setLengthMethod · 0.95
clearMethod · 0.95
clearMethod · 0.95
growAtEndMethod · 0.95
growAtFrontMethod · 0.95
removeRangeMethod · 0.95
clearMethod · 0.95
removeRangeMethod · 0.95
setSizeMethod · 0.95

Calls 1

checkBoundsMethod · 0.95

Tested by

no test coverage detected