Modifier and Type | Method and Description |
---|---|
static String |
caseInsensitivelyEqualCharacters(int cp) |
static boolean |
isAlphabetic(Integer codePoint)
Calls
java.lang.Character.isAlphabetic(int) , which is available only sind JRE 1.7. |
static boolean |
isHorizontalWhitespace(int codePoint) |
static boolean |
isUnicodeWord(int codePoint) |
static boolean |
isWordCharacter(int codePoint)
A word character: [a-zA-Z_0-9]
|
static Predicate<Integer> |
javaCharacterClassFromName(String name) |
static Predicate<Integer> |
posixCharacterClassFromName(String name) |
static Predicate<Integer> |
unicodeBinaryPropertyFromName(String name) |
static Predicate<Integer> |
unicodeBlockFromName(String name) |
static Predicate<Integer> |
unicodeCategoryFromName(String name) |
static Predicate<Integer> |
unicodePredefinedCharacterClassFromName(String name) |
static boolean |
unicodeScriptAvailable() |
static Predicate<Integer> |
unicodeScriptPredicate(String name) |
public static final Predicate<Integer> IS_POSIX_LOWER
[a-z]
).public static final Predicate<Integer> IS_POSIX_UPPER
[A-Z]
).public static final Predicate<Integer> IS_POSIX_ASCII
public static final Predicate<Integer> IS_POSIX_ALPHA
[A-Za-z]
).public static final Predicate<Integer> IS_POSIX_DIGIT
[0-9]
).public static final Predicate<Integer> IS_POSIX_ALNUM
[A-Za-z0-9]
).public static final Predicate<Integer> IS_POSIX_PUNCT
! " # $ % &
' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
).public static final Predicate<Integer> IS_POSIX_GRAPH
public static final Predicate<Integer> IS_POSIX_PRINT
public static final Predicate<Integer> IS_POSIX_BLANK
public static final Predicate<Integer> IS_POSIX_CNTRL
[\0-\x1f\x7f]
).public static final Predicate<Integer> IS_POSIX_XDIGIT
[0-9a-fA-F]
).public static final Predicate<Integer> IS_POSIX_SPACE
public static final Predicate<Integer> IS_ISO_CONTROL
Character.isISOControl(int)
.public static final Predicate<Integer> IS_SPACE_CHAR
Character.isSpaceChar(int)
.public static final Predicate<Integer> IS_DEFINED
Character.isDefined(int)
.public static final Predicate<Integer> IS_JAVA_IDENTIFIER_START
Character.isJavaIdentifierStart(int)
.public static final Predicate<Integer> IS_JAVA_IDENTIFIER_PART
Character.isJavaIdentifierPart(int)
.public static final Predicate<Integer> IS_IDENTIFIER_IGNORABLE
Character.isIdentifierIgnorable(int)
.public static final Predicate<Integer> IS_UNICODE_IDENTIFIER_START
Character.isUnicodeIdentifierStart(int)
.public static final Predicate<Integer> IS_UNICODE_IDENTIFIER_PART
Character.isUnicodeIdentifierPart(int)
.public static final Predicate<Integer> IS_LETTER_OR_DIGIT
Character.isLetterOrDigit(int)
.public static final Predicate<Integer> IS_WHITESPACE
Character.isWhitespace(int)
.public static final Predicate<Integer> IS_HORIZONTAL_WHITESPACE
isHorizontalWhitespace(int)
.public static final Predicate<Integer> IS_MIRRORED
Character.isMirrored(int)
.public static final Predicate<Integer> IS_UNICODE_COMBINING_SPACING_MARK
public static final Predicate<Integer> IS_UNICODE_DECIMAL_DIGIT_NUMBER
public static final Predicate<Integer> IS_UNICODE_PARAGRAPH_SEPARATOR
public static final Predicate<Integer> IS_UNICODE_CONNECTOR_PUNCTUATION
public static final Predicate<Integer> IS_UNICODE_INITIAL_QUOTE_PUNCTUATION
public static final Predicate<Integer> IS_UNICODE_FINAL_QUOTE_PUNCTUATION
public static final Predicate<Integer> IS_UNICODE_ALPHA
isAlphabetic(Integer)
; PredicateWhichThrows.evaluate(Object)
throws an UnsupportedOperationException
iff the JRE is pre-1.7.@Nullable public static Predicate<Integer> javaCharacterClassFromName(String name)
public static boolean isHorizontalWhitespace(int codePoint)
public static boolean isWordCharacter(int codePoint)
public static boolean isAlphabetic(Integer codePoint)
java.lang.Character.isAlphabetic(int)
, which is available only sind JRE 1.7.UnsupportedOperationException
- The JRE is pre-1.7public static boolean isUnicodeWord(int codePoint)
"\w"
, with the Pattern.UNICODE_CHARACTER_CLASS
flag set@Nullable public static Predicate<Integer> unicodeCategoryFromName(String name)
null
iff the named category is unknown@Nullable public static Predicate<Integer> unicodeBinaryPropertyFromName(String name)
@Nullable public static Predicate<Integer> unicodePredefinedCharacterClassFromName(String name)
@Nullable public static Predicate<Integer> posixCharacterClassFromName(String name)
public static boolean unicodeScriptAvailable()
@Nullable public static Predicate<Integer> unicodeScriptPredicate(String name)
null
iff a UNICODE script with the name is unknownUnsupportedOperationException
- This JRE does not support unicode scripts (because it is pre-1.7)unicodeScriptAvailable()
Copyright © 2018 Arno Unkrig. All rights reserved.