Java String Lower Case toLowercase(int codePoint)

Here you can find the source of toLowercase(int codePoint)

Description

Convert upper case letters to lower case letters in ASCII

License

Apache License

Parameter

Parameter Description
codePoint a parameter

Declaration

public static int toLowercase(int codePoint) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**/*from  w  ww  .j  a  v  a2  s. co m*/
     * Convert upper case letters to lower case letters in ASCII
     * @param codePoint
     * @return
     */
    public static int toLowercase(int codePoint) {
        if (codePoint >= 0x41 && codePoint <= 0x5A) {
            return codePoint + 32;
        }
        return codePoint;
    }
}

Related

  1. toLowerCase(final String s)
  2. toLowerCase(final String s)
  3. toLowerCase(final String str)
  4. toLowerCase(final String[] strings)
  5. toLowerCase(final StringBuilder src)
  6. toLowerCase(int u)
  7. toLowerCase(String candidate)
  8. toLowerCase(String input)
  9. toLowerCase(String input)