Java BigInteger Calculate extractBoolean(BigInteger bi, int index)

Here you can find the source of extractBoolean(BigInteger bi, int index)

Description

extract Boolean

License

Open Source License

Declaration

public static boolean extractBoolean(BigInteger bi, int index) 

Method Source Code


//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*/
}

Related

  1. encodeToBase62(BigInteger num)
  2. encodeToString(final BigInteger input)
  3. encodeURL(BigInteger id)
  4. equal(BigInteger int1, BigInteger int2)
  5. equals(BigInteger[] a, BigInteger[] b)
  6. extractFloat(BigInteger bi, int start, int end, int decimal)
  7. extractInt(BigInteger bi, int start, int end)
  8. fill(BigInteger[] array, BigInteger value)
  9. first(BigInteger i, BigInteger j)