Java Char Convert To charToBoolean(char c)

Here you can find the source of charToBoolean(char c)

Description

char To Boolean

License

LGPL

Declaration

public static boolean charToBoolean(char c) 

Method Source Code

//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*/
}

Related

  1. charTo2Byte(char x)
  2. CharToASCII(final char character)
  3. charToBasicType(char c, Class clazz)
  4. charToBuffer(char ch, byte[] ioBuffer)
  5. charToCDATA(char ch)
  6. charToCompressedBaseLow(final int base)
  7. charToCompressedBaseLow(final int base)