public abstract class ASCII extends Object
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
---|---|---|---|---|---|---|---|---|
0 | NUL | SOH | STX | ETX | EOT | ENQ | ACK | BEL |
8 | BS | HT | LF | VT | FF | CR | SO | SI |
16 | DLE | DC1 | DC2 | DC3 | DC4 | NAK | SYN | ETB |
24 | CAN | EM | SUB | ESC | FS | GS | RS | US |
32 | SP | ! | " | # | $ | % | & | ' |
40 | ( | ) | * | + | , | - | . | / |
48 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
56 | 8 | 9 | : | ; | < | = | > | ? |
64 | @ | A | B | C | D | E | F | G |
72 | H | I | J | K | L | M | N | O |
80 | P | Q | R | S | T | U | V | W |
88 | X | Y | Z | [ | \ | ] | ^ | _ |
96 | ` | a | b | c | d | e | f | g |
104 | h | i | j | k | l | m | n | o |
112 | p | q | r | s | t | u | v | w |
120 | x | y | z | { | | | ~ | DEL |
Modifier and Type | Field and Description |
---|---|
static char |
COMMA |
static char |
CR |
static char |
DECIMAL_NINE |
static char |
DECIMAL_ZERO |
static char |
DEL |
static char |
EQUALS |
static char |
HT |
static char |
LCB |
static char |
LF |
static char |
LOWERCASE_A |
static char |
LOWERCASE_Z |
static char |
NBSP |
static char |
NULL |
static char |
RCB |
static char |
SEMICOLON |
static char |
SP |
static char |
UNDERSCORE |
static char |
UPPERCASE_A |
static char |
UPPERCASE_Z |
Modifier and Type | Method and Description |
---|---|
static String |
generateRandom(int length,
IntPredicate predicate) |
static boolean |
isAlphabetic(int aChar) |
static boolean |
isAlphanumeric(int aChar) |
static boolean |
isAscii(int aChar) |
static boolean |
isControl(int aChar) |
static boolean |
isDigit(int aChar) |
static boolean |
isGraph(int aChar) |
static boolean |
isLowercase(int aChar) |
static boolean |
isPrintable(int aChar) |
static boolean |
isPunctuation(int aChar)
Not sure this is correct
|
static boolean |
isSpace(int aChar) |
static boolean |
isUppercase(int aChar) |
static int |
toLowercase(int aChar)
If aChar is an uppercase character it is converted to the corresponding lowercase character.
|
static int |
toPrintable(int aChar) |
static int |
toUppercase(int aChar)
If aChar is a lowercase character it is converted to the corresponding uppercase character.
|
public static final char COMMA
public static final char CR
public static final char DECIMAL_NINE
public static final char DECIMAL_ZERO
public static final char DEL
public static final char EQUALS
public static final char HT
public static final char LCB
public static final char LF
public static final char LOWERCASE_A
public static final char LOWERCASE_Z
public static final char NBSP
public static final char NULL
public static final char RCB
public static final char SEMICOLON
public static final char SP
public static final char UNDERSCORE
public static final char UPPERCASE_A
public static final char UPPERCASE_Z
public static String generateRandom(int length, IntPredicate predicate)
length
- The length of the random stringpredicate
- Need to pass this testpublic static boolean isAlphabetic(int aChar)
public static boolean isAlphanumeric(int aChar)
public static boolean isAscii(int aChar)
public static boolean isControl(int aChar)
public static boolean isDigit(int aChar)
public static boolean isGraph(int aChar)
public static boolean isLowercase(int aChar)
public static boolean isPrintable(int aChar)
public static boolean isPunctuation(int aChar)
public static boolean isSpace(int aChar)
public static boolean isUppercase(int aChar)
public static int toLowercase(int aChar)
public static int toPrintable(int aChar)
public static int toUppercase(int aChar)
Copyright © 2019 Optimatika. All rights reserved.