Java Boolean to String booleanToString(boolean b)

Here you can find the source of booleanToString(boolean b)

Description

boolean To String

License

Open Source License

Declaration

public static String booleanToString(boolean b) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String booleanToString(boolean b) {

        return (b ? "yes" : "no");
    }//w ww.  j a va 2  s.c  o m
}

Related

  1. boolean2XML(Boolean b)
  2. booleanToCheckBox(final boolean value)
  3. booleanToString(boolean a_boolean, String aS_True, String aS_False)
  4. BooleanToString(boolean aB)
  5. booleanToString(Boolean b)
  6. booleanToSTRING(boolean value)
  7. booleanToString(boolean value)
  8. booleanToString(boolean value)
  9. booleanToString(boolean[] values)