Java Char Create toCharacter(final String value)

Here you can find the source of toCharacter(final String value)

Description

create Chracter from str.

License

Apache License

Parameter

Parameter Description
value a parameter

Declaration

public static Character toCharacter(final String value) 

Method Source Code

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

public class Main {
    /**/* w  w  w  .ja v  a2s  .co m*/
     * create Chracter from str.
     * @param value
     * @return
     */
    public static Character toCharacter(final String value) {
        return value.charAt(0);
    }
}

Related

  1. toChar(String string)
  2. toChar(String string)
  3. toChar(String unicode)
  4. toCharA(byte[] data)
  5. toCharacter(final String value)
  6. toCharacter(Object o)
  7. toCharacter(Object o)
  8. toCharacter(Object obj)
  9. toCharacter(Object object)