java.lang
Class Character
java.lang.Object
java.lang.Character
public final class Character
- extends Object
The Character
class wraps a value of the primitive
type char
in an object. An object of type
Character
contains a single field whose type is
char
.
Character information is based on the Unicode Standard, version 3.0.
The file and its description are available from the Unicode Consortium at:
- Since:
- 1.0
Field Summary |
static char |
MAX_VALUE
The constant value of this field is the largest value of type
char , '\uFFFF' . |
static char |
MIN_VALUE
The constant value of this field is the smallest value of type
char , '\u0000' . |
Method Summary |
static String |
toString(char c)
Returns a String object representing the
specified char . |
MIN_VALUE
public static final char MIN_VALUE
- The constant value of this field is the smallest value of type
char
, '\u0000'
.
- Since:
- 1.0.2
- See Also:
- Constant Field Values
MAX_VALUE
public static final char MAX_VALUE
- The constant value of this field is the largest value of type
char
, '\uFFFF'
.
- Since:
- 1.0.2
- See Also:
- Constant Field Values
Character
public Character()
toString
public static String toString(char c)
- Returns a
String
object representing the
specified char
. The result is a string of length
1 consisting solely of the specified char
.
- Parameters:
c
- the char
to be converted
- Returns:
- the string representation of the specified
char
- Since:
- 1.4