Here you can find the source of fill(BigInteger[] array, BigInteger value)
Parameter | Description |
---|---|
array | the array |
value | the value |
public static void fill(BigInteger[] array, BigInteger value)
//package com.java2s; import java.math.BigInteger; public class Main { /**//from w w w . j a v a 2 s .co m * Fill the given BigInteger array with the given value. * * @param array the array * @param value the value */ public static void fill(BigInteger[] array, BigInteger value) { for (int i = array.length - 1; i >= 0; i--) { array[i] = value; } } }