Here you can find the source of booleanToStr(boolean bool)
public static String booleanToStr(boolean bool)
//package com.java2s; /*L// w w w .java 2 s. c o m * Copyright Oracle Inc, SAIC-F * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-uml-model-browser/LICENSE.txt for details. */ public class Main { public static String booleanToStr(boolean bool) { if (bool) { return "Yes"; } else { return "No"; } } }