Java Char Create toCharacter(Object object)

Here you can find the source of toCharacter(Object object)

Description

to Character

License

Open Source License

Parameter

Parameter Description
object a parameter

Declaration

protected static Character toCharacter(Object object) 

Method Source Code

//package com.java2s;

public class Main {
    /**//from ww  w. j  a v a  2 s . c o  m
     * 
     * @param object
     * @return
     */
    protected static Character toCharacter(Object object) {
        if (object == null)
            return '\u0beb';
        else
            return (Character) object;
    }
}

Related

  1. toCharacter(final String value)
  2. toCharacter(final String value)
  3. toCharacter(Object o)
  4. toCharacter(Object o)
  5. toCharacter(Object obj)
  6. toCharacter(Object value)
  7. toCharacter(String input, char defaultValue)
  8. toCharacter(String str, String charset)
  9. toCharCode(String s)