public class ASCIIUtil extends Object
Constructor and Description |
---|
ASCIIUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isHex(int c)
Check whether the supplied character is a Hexadecimal character.
|
static boolean |
isLetter(int c)
Checks whether the supplied character is a letter.
|
static boolean |
isLetterOrNumber(int c)
Checks whether the supplied character is a letter or number.
|
static boolean |
isLowerCaseLetter(int c)
Checks whether the supplied character is an lower-case letter.
|
static boolean |
isNumber(int c)
Checks whether the supplied character is a number.
|
static boolean |
isUpperCaseLetter(int c)
Checks whether the supplied character is an upper-case letter.
|
public static boolean isLetterOrNumber(int c)
c
- characterisLetter(int)
,
isNumber(int)
public static boolean isLetter(int c)
c
- characterpublic static boolean isUpperCaseLetter(int c)
c
- characterpublic static boolean isLowerCaseLetter(int c)
c
- characterpublic static boolean isNumber(int c)
c
- characterpublic static boolean isHex(int c)
c
- charactertrue
if c is a hexadecimal character, false
otherwise.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.