Java Bits Convert to bitToBoolean(byte b)

Here you can find the source of bitToBoolean(byte b)

Description

bit To Boolean

License

Open Source License

Declaration

public static boolean bitToBoolean(byte b) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean bitToBoolean(byte b) {
        if (0 == b)
            return false;
        else//w w  w.j ava 2s  .  c om
            return true;
    }
}

Related

  1. bitString(byte b)
  2. bitString2byte(String str)
  3. bitStringToInt(String bits, char one)
  4. bitsUsed(long value)
  5. bitTest(String value, int pos)
  6. bitToBoolean(final byte value, final int bitNbr)
  7. bitToLong(byte[] bytes, int offset, int length)
  8. bitToLong(byte[] bytes, int offset, int length)
  9. bitValueHelper(final int index, final int[] data)