class ASCIIBits
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) long |
_lowerMask
Lower 64 bits.
|
(package private) long |
_upperMask
Upper 64 bits.
|
Constructor and Description |
---|
ASCIIBits() |
Modifier and Type | Method and Description |
---|---|
(package private) ASCIIBits |
clear(char min,
char max)
Sets a range of characters to 0s in the masks.
|
(package private) ASCIIBits |
clear(java.lang.String chars)
Clears the bit (sets to 0) for each character in the argument string.
|
(package private) ASCIIBits |
set(int min,
int max)
Sets a range of characters to 1s in the masks.
|
(package private) ASCIIBits |
set(java.lang.String chars)
Sets a bit to 1 for each character in the argument string.
|
ASCIIBits set(java.lang.String chars)
chars
- the characters to set to 1.this
ASCIIBits clear(java.lang.String chars)
chars
- the characters to clear.this
ASCIIBits set(int min, int max)
min
- the minimum (inclusive).max
- the maximum (inclusive).this
ASCIIBits clear(char min, char max)
min
- the minimum (inclusive).max
- the maximum (inclusive).this