Here you can find the source of toIntArray(BigInteger[] input)
Parameter | Description |
---|---|
input | - the BigInteger array |
public static int[] toIntArray(BigInteger[] input)
//package com.java2s; import java.math.BigInteger; public class Main { /**/*from w w w. j a v a2s . c o m*/ * Converts a BigInteger array into an integer array * * @param input - * the BigInteger array * @return the integer array */ public static int[] toIntArray(BigInteger[] input) { int[] result = new int[input.length]; for (int i = 0; i < input.length; i++) { result[i] = input[i].intValue(); } return result; } }