public interface CharacterProperties
char
or as a multi-byte Unicode characterModifier and Type | Method and Description |
---|---|
boolean |
isAlphabetic() |
boolean |
isBmpCodePoint() |
boolean |
isDigit()
Determine if this
char -width or int -width
character is a digit within Unicode |
boolean |
isHighSurrogate() |
boolean |
isIdentifierIgnorable()
Determine if this
char -width or int -width
character ignorable character in a Java identifier or a Unicode
identifier |
boolean |
isIdeographic() |
boolean |
isISOControl()
Determine if this
char -width or int -width
character is an ISO control character within Unicode |
boolean |
isJavaIdentifierPart()
Determine if this
char -width or int -width
character is a part of a Java identifier as other than the first
character |
boolean |
isJavaIdentifierStart()
Determine if this
char -width or int -width
character is permissible as the first character in a Java identifier |
boolean |
isLetter()
Determine if this
char -width or int -width
character is a letter within Unicode |
boolean |
isLetterOrDigit()
Determine if this
char -width or int -width
character is a letter or digit within Unicode |
boolean |
isLowerCase()
Determine if this
char -width or int -width
character is a lower case character within Unicode |
boolean |
isLowSurrogate() |
boolean |
isMirrored()
Determine if this
char -width or int -width
character is "mirrored" within Unicode |
boolean |
isSupplementaryCodePoint() |
boolean |
isSurrogate() |
boolean |
isTitleCase()
Determine if this
char -width or int -width
character is a title case character within Unicode |
boolean |
isUnicode()
Determine if this
char -width or int -width
character is defined within Unicode |
boolean |
isUnicodeIdentifierPart()
Determine if this
char -width or int -width
character is a part of a Unicode identifier as other than the first
character |
boolean |
isUnicodeIdentifierStart()
Determine if this
char -width or int -width
character is permissible as the first character in a Unicode identifier |
boolean |
isUpperCase()
Determine if this
char -width or int -width
character is an upper case character within Unicode |
boolean |
isValidCodePoint() |
boolean |
isWhitespace()
Determine if this
char -width or int -width
character is whitespace within Unicode |
boolean isAlphabetic()
true
if the int
value of this object is a
proper alphabetical
value in
UnicodeCharacter.isAlphabetic(int)
boolean isBmpCodePoint()
true
if the int
value of this object is a
BMP
(Basic Multi-lingual
Plane) code point in UnicodeCharacter.isBmpCodePoint(int)
boolean isDigit()
char
-width or int
-width
character is a digit within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is a digit in UnicodeCharacter.isDigit(char)
,
Character.isDigit(int)
boolean isHighSurrogate()
true
if the char
value of this object is a
high
surrogate in UTF-16
Unicode encodingCharacter.isHighSurrogate(char)
boolean isIdentifierIgnorable()
char
-width or int
-width
character ignorable character in a Java identifier or a Unicode
identifiertrue
if the scalar value of this object, as appropriate
for this objects's precision, ignorable character in a Java
identifier or a Unicode identifier as other than the first
characterCharacter.isIdentifierIgnorable(char)
,
Character.isIdentifierIgnorable(int)
boolean isIdeographic()
true
if the int
value of this object is a
Unicode ideographic
symbolCharacter.isIdeographic(int)
boolean isISOControl()
char
-width or int
-width
character is an ISO control character within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is an ISO control character in
UnicodeCharacter.isISOControl(char)
,
Character.isISOControl(int)
boolean isJavaIdentifierPart()
char
-width or int
-width
character is a part of a Java identifier as other than the first
charactertrue
if the scalar value of this object, as appropriate
for this objects's precision, is a part of a Java identifier as
other than the first characterCharacter.isJavaIdentifierPart(char)
,
Character.isJavaIdentifierPart(int)
boolean isJavaIdentifierStart()
char
-width or int
-width
character is permissible as the first character in a Java identifiertrue
if the scalar value of this object, as appropriate
for this objects's precision, is permissible as the first
character in a Java identifierCharacter.isJavaIdentifierStart(char)
,
Character.isJavaIdentifierStart(int)
boolean isLetter()
char
-width or int
-width
character is a letter within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is a letter in UnicodeCharacter.isLetter(char)
,
Character.isLetter(int)
boolean isLetterOrDigit()
char
-width or int
-width
character is a letter or digit within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is a letter or digit in UnicodeCharacter.isLetterOrDigit(char)
,
Character.isLetterOrDigit(int)
boolean isLowerCase()
char
-width or int
-width
character is a lower case character within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is a lower case character in
UnicodeCharacter.isLowerCase(char)
,
Character.isLowerCase(int)
boolean isLowSurrogate()
true
if the char
value of this object is a
low
surrogate in UTF-16
Unicode encodingCharacter.isLowSurrogate(char)
boolean isMirrored()
char
-width or int
-width
character is "mirrored" within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is "mirrored" in UnicodeCharacter.isMirrored(char)
,
Character.isMirrored(int)
boolean isSupplementaryCodePoint()
true
if the int
value of this object is a
supplementary
code point in UnicodeCharacter.isSupplementaryCodePoint(int)
boolean isSurrogate()
true
if the char
value of this object is a
surrogate
value (high or low)
in UnicodeCharacter.isSurrogate(char)
boolean isTitleCase()
char
-width or int
-width
character is a title case character within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is a title case character in
UnicodeCharacter.isTitleCase(char)
,
Character.isTitleCase(int)
boolean isUnicode()
char
-width or int
-width
character is defined within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is defined in UnicodeCharacter.isDefined(char)
,
Character.isDefined(int)
boolean isUnicodeIdentifierPart()
char
-width or int
-width
character is a part of a Unicode identifier as other than the first
charactertrue
if the scalar value of this object, as appropriate
for this objects's precision, is a part of a Unicode identifier
as other than the first characterCharacter.isUnicodeIdentifierPart(char)
,
Character.isUnicodeIdentifierPart(int)
boolean isUnicodeIdentifierStart()
char
-width or int
-width
character is permissible as the first character in a Unicode identifiertrue
if the scalar value of this object, as appropriate
for this objects's precision, is permissible as the first
character in a Unicode identifierCharacter.isUnicodeIdentifierStart(char)
,
Character.isUnicodeIdentifierStart(int)
boolean isUpperCase()
char
-width or int
-width
character is an upper case character within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is an upper case character in
UnicodeCharacter.isUpperCase(char)
,
Character.isUpperCase(int)
boolean isValidCodePoint()
true
if the int
value of this object is a
valid
code point in
UnicodeCharacter.isValidCodePoint(int)
boolean isWhitespace()
char
-width or int
-width
character is whitespace within Unicodetrue
if the scalar value of this object, as appropriate
for this objects's precision, is whitespace in UnicodeCharacter.isWhitespace(char)
,
Character.isWhitespace(int)
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.