de.tomshut.utlis.text
Class CharacterUtils

java.lang.Object
  extended by de.tomshut.utlis.text.CharacterUtils

public class CharacterUtils
extends java.lang.Object


Constructor Summary
CharacterUtils()
           
 
Method Summary
static boolean isDigit(char ch)
          Provides a high performance implementation of the Character method
static boolean isHexDigit(char ch)
          Checks if the character is a hexadecimal digit (i.e. a digit, a-f, or A-F)
static boolean isJavaIdentifierPart(char ch)
          Provides a high performance implementation of the Character method
static boolean isJavaIdentifierStart(char ch)
          Provides a high performance implementation of the Character method
static boolean isLetter(char ch)
          Provides a high performance implementation of the Character method
static boolean isLetterOrDigit(char ch)
          Provides a high performance implementation of the Character method
static boolean isLowerCase(char ch)
          Provides a high performance implementation of the Character method
static boolean isSpaceChar(char ch)
          Provides a high performance implementation of the Character method
static boolean isTitleCase(char ch)
          Provides a high performance implementation of the Character method
static boolean isUnicodeIdentifierPart(char ch)
          Provides a high performance implementation of the Character method
static boolean isUnicodeIdentifierStart(char ch)
          Provides a high performance implementation of the Character method
static boolean isUpperCase(char ch)
          Provides a high performance implementation of the Character method
static boolean isWhitespace(char ch)
          Provides a high performance implementation of the Character method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterUtils

public CharacterUtils()
Method Detail

isDigit

public static boolean isDigit(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isDigit(char)

isJavaIdentifierPart

public static boolean isJavaIdentifierPart(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isJavaIdentifierPart(char)

isJavaIdentifierStart

public static boolean isJavaIdentifierStart(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isJavaIdentifierStart(char)

isLetter

public static boolean isLetter(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isLetter(char)

isLetterOrDigit

public static boolean isLetterOrDigit(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isLetterOrDigit(char)

isLowerCase

public static boolean isLowerCase(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isLowerCase(char)

isSpaceChar

public static boolean isSpaceChar(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isSpaceChar(char)

isTitleCase

public static boolean isTitleCase(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isSpaceChar(char)

isUnicodeIdentifierPart

public static boolean isUnicodeIdentifierPart(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isUnicodeIdentifierPart(char)

isUnicodeIdentifierStart

public static boolean isUnicodeIdentifierStart(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isUnicodeIdentifierStart(char)

isUpperCase

public static boolean isUpperCase(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isUpperCase(char)

isWhitespace

public static boolean isWhitespace(char ch)
Provides a high performance implementation of the Character method

See Also:
Character.isWhitespace(char)

isHexDigit

public static boolean isHexDigit(char ch)
Checks if the character is a hexadecimal digit (i.e. a digit, a-f, or A-F)

Parameters:
ch - the character to check
Returns:
true if the character is a hex digit, false otherwise.