Here you can find the source of toBooleanString(long value)
Parameter | Description |
---|---|
value | The value: 0x00=False, 0x01=True |
public static String toBooleanString(long value)
//package com.java2s; //License from project: Open Source License public class Main { /**//w ww . jav a2 s . c o m * Returns the boolean string for the value.<br/> * * @param value * The value: 0x00=False, 0x01=True * @return True or False as string */ public static String toBooleanString(long value) { if (value == 0x01L) { return "True"; } return "False"; } }