Here you can find the source of boolean2string(boolean b)
public static String boolean2string(boolean b)
//package com.java2s; //License from project: Apache License public class Main { public static String boolean2string(boolean b) { return b ? "True" : "False"; }//from w ww . jav a2s . c o m }