Java Char Convert To charToLowerCase(char c)

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

Description

char To Lower Case

License

Open Source License

Declaration

public static char charToLowerCase(char c) 

Method Source Code

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

public class Main {
    public static char charToLowerCase(char c) {
        if (c >= 'A' && c <= 'Z')
            return (char) (c - ('A' - 'a'));
        return c;
    }/*from w w w.  j  av  a  2s.c  om*/
}

Related

  1. charToDecimal(char c)
  2. charToDigit(char c)
  3. charToEscape(char ch)
  4. charToHTML(char ch, boolean xml)
  5. charToLong(final char value)
  6. charToNCRef(int c)
  7. charToNum(char c)
  8. charToNybble(char c)
  9. charToOctet(char c)