Here you can find the source of toInt(BigInteger number)
static int toInt(BigInteger number)
//package com.java2s; //License from project: Apache License import java.math.BigInteger; public class Main { static int toInt(BigInteger number) { return number.intValue(); }/* ww w. j a v a2 s. c o m*/ }