Java Utililty Methods Array Clear

List of utility methods to do Array Clear

Description

The list of methods to do Array Clear are organized into topic(s).

Method

voidzero(float[][] M)
zero
for (int i = 0; i < M.length; i++) {
    Arrays.fill(M[i], 0);
voidZeroByteArray(byte[] pbArray)
Zero Byte Array
assert pbArray != null;
if (pbArray == null)
    throw new IllegalArgumentException("pbArray");
Arrays.fill(pbArray, (byte) 0);
long[]zeroI(long[] v)
Zero the given set Low-endian layout for the array.
Arrays.fill(v, 0);
return v;
voidzeros(final float[] input)
zeros
Arrays.fill(input, 0, input.length, 0.0f);