MCPcopy Create free account
hub / github.com/ReadyTalk/avian / fill

Method fill

classpath/java/util/Arrays.java:500–504  ·  view source on GitHub ↗
(int[] array, int value)

Source from the content-addressed store, hash-verified

498 }
499
500 public static void fill(int[] array, int value) {
501 for (int i=0;i<array.length;i++) {
502 array[i] = value;
503 }
504 }
505
506 public static void fill(int[] array, int start, int stop, int value) {
507 checkRange(array.length, start, stop);

Callers

nothing calls this directly

Calls 1

checkRangeMethod · 0.95

Tested by

no test coverage detected