Java Array Fill fill(double[][] array, double s)

Here you can find the source of fill(double[][] array, double s)

Description

fill

License

Apache License

Declaration

public static void fill(double[][] array, double s) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.Arrays;

public class Main {
    public static void fill(double[][] array, double s) {
        for (int i = 0; i < array.length; i++) {
            Arrays.fill(array[i], s);
        }/*from   w ww . j a  v a2 s  .  c  o  m*/
    }
}

Related

  1. fill( T[] a, T val)
  2. fill(byte[] arr)
  3. fill(byte[] val, byte b)
  4. fill(char[] chars, int fromIndex, int toIndex, char c)
  5. fill(double[][] d, double val)
  6. fill(final double[][] arr, final double val)
  7. fill(final Object[] array, final int start, final int end, final Object value)
  8. fill(final T[] array, final int size)