Java examples for java.math:BigInteger
Fill the given BigInteger array with the given value.
//package com.java2s; import java.math.BigInteger; public class Main { /**//from w ww .ja v a 2s. com * 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; } } }