Java Char Upper Case toUpperCase(char input)

Here you can find the source of toUpperCase(char input)

Description

to Upper Case

License

Apache License

Declaration

public static char toUpperCase(char input) 

Method Source Code

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

public class Main {
    public static char toUpperCase(char input) {
        if (input >= 'a' && input <= 'z') {
            input -= 32;/*from  w  ww  .  j a  v a  2s. c  om*/
        }

        return input;
    }
}

Related

  1. toUpperCase(char a)
  2. toUpperCase(char c)
  3. toUpperCase(char c)
  4. toUpperCase(char c)
  5. toUpperCase(char ch)
  6. toUpperCase(char[] cs)
  7. toUpperCase(final byte b)
  8. toUpperCase(final char[] buffer, final int offset, final int limit)
  9. toUpperCase(Object object)