Here you can find the source of charToBoolean(char c)
public static boolean charToBoolean(char c)
//package com.java2s; //License from project: LGPL public class Main { public static boolean charToBoolean(char c) { return c != 0 ? true : false; }/*from w w w . ja v a 2 s . com*/ }