DCT Lightfoot v3 API specification

java.lang
Class Character

java.lang.Object
  |
  +--java.lang.Character

public class Character
extends Object


Field Summary
static int MAX_RADIX
           
static char MAX_VALUE
          The maximum value for a character
static int MIN_RADIX
          The minimum radix for conversion
static char MIN_VALUE
          The minimum value for a character
 
Constructor Summary
Character(char c)
          Create a new character
 
Method Summary
 char charValue()
          Return the character value
static int digit(char ch, int radix)
          Convert to a digit in the specified radix
 boolean equals(Object o)
          Is it equals
 int hashCode()
          Get the hash code
static boolean isDigit(char ch)
          Is it a digit
static boolean isLowerCase(char ch)
          Is it in lower case
static boolean isUpperCase(char ch)
          Is it in upper case
static char toLowerCase(char ch)
          Convert it to lower case
 java.lang.String toString()
          Convert it to a string
static char toUpperCase(char ch)
          Convert it to upper case
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_RADIX

public static final int MAX_RADIX
See Also:
Constant Field Values

MIN_RADIX

public static final int MIN_RADIX
The minimum radix for conversion

See Also:
Constant Field Values

MAX_VALUE

public static final char MAX_VALUE
The maximum value for a character

See Also:
Constant Field Values

MIN_VALUE

public static final char MIN_VALUE
The minimum value for a character

See Also:
Constant Field Values
Constructor Detail

Character

public Character(char c)
Create a new character

Parameters:
c - The value
Method Detail

charValue

public final char charValue()
Return the character value

Returns:
the value

digit

public static final int digit(char ch,
                              int radix)
Convert to a digit in the specified radix

Parameters:
ch - The value
radix - The radix
Returns:
the numeric value of the character in the radix

equals

public boolean equals(Object o)
Is it equals

Overrides:
equals in class Object
Parameters:
o - The other object

hashCode

public int hashCode()
Get the hash code

Overrides:
hashCode in class Object
Returns:
the hash code

isDigit

public static boolean isDigit(char ch)
Is it a digit

Parameters:
ch - The value
Returns:
true if it is a digit

isLowerCase

public static boolean isLowerCase(char ch)
Is it in lower case

Parameters:
ch - The value
Returns:
true if it is

isUpperCase

public static boolean isUpperCase(char ch)
Is it in upper case

Parameters:
ch - The value
Returns:
true if it is

toLowerCase

public static char toLowerCase(char ch)
Convert it to lower case

Parameters:
ch - The value
Returns:
the lower case value

toString

public java.lang.String toString()
Convert it to a string

Overrides:
toString in class Object
Returns:
the string

toUpperCase

public static char toUpperCase(char ch)
Convert it to upper case

Parameters:
ch - The value
Returns:
the upper case value

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification