public class Alphanumeric
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getDigitFamily(int in)
Determine which digit family a decimal digit belongs to: that is, return the corresponding zero digit.
|
static int |
getDigitValue(int in)
Determine whether a character represents a decimal digit and if so, which digit.
|
static boolean |
isAlphanumeric(int codepoint)
Determine whether a Unicode codepoint is alphanumeric, that is, whether it is in one of the
categories Nd, Nl, No, Lu, Ll, Lt, Lm or Lo
|
public static boolean isAlphanumeric(int codepoint)
codepoint
- the codepoint to be testedpublic static int getDigitValue(int in)
in
- the Unicode character being tested.public static int getDigitFamily(int in)
in
- a Unicode characterCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.