Here you can find the source of extractBoolean(BigInteger bi, int index)
public static boolean extractBoolean(BigInteger bi, int index)
//package com.java2s; import java.math.BigInteger; public class Main { public static boolean extractBoolean(BigInteger bi, int index) { return bi.testBit(index); }/*w w w .j a va 2 s . c om*/ }