Java Byte to Boolean byteToBoolean(byte b)

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

Description

byte To Boolean

License

LGPL

Declaration

public static boolean byteToBoolean(byte b) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static boolean byteToBoolean(byte b) {
        return b != 0 ? true : false;
    }/* w  ww .  j av  a  2s.com*/
}

Related

  1. byteToBoolArr(final byte value)
  2. ByteToBoolean(byte value)
  3. byteToBoolean(final byte b)
  4. byteToboolean(final byte value)