Java Utililty Methods Boolean to Char

List of utility methods to do Boolean to Char

Description

The list of methods to do Boolean to Char are organized into topic(s).

Method

char[]booleanToChar(boolean[] values)
boolean To Char
if (values == null) {
    return null;
char[] results = new char[values.length];
for (int i = 0; i < values.length; i++) {
    results[i] = (values[i] == true ? '1' : '0');
return results;
...
charbooleanTochar(final boolean value)
boolean Tochar
return (char) (value ? 1 : 0);
charconvertBooleanToChar(final boolean value)
convert Boolean To Char
if (value) {
    return ABAP_TRUE;
} else {
    return ABAP_FALSE;