public final class JinahyaCharacter extends Object
| Modifier and Type | Method and Description |
|---|---|
static int[] |
codePoints(char[] a,
int offset,
int count)
Returns the array of Unicode code points in a subarray of the
char array argument. |
static int[] |
codePoints(CharSequence seq,
int beginIndex,
int endIndex)
Returns the array of Unicode code points in the text range of the
specified char sequence.
|
static boolean |
isJavaIdentifier(char[] a) |
static boolean |
isJavaIdentifier(CharSequence seq) |
static boolean |
isJavaIdentifier(int[] codePoints) |
public static int[] codePoints(char[] a,
int offset,
int count)
char array argument. The
offset argument is the index of the first
char of the subarray and the
count argument specifies the length of the subarray in
chars. Unpaired surrogates within the subarray count as one
code point each.a - the
char arrayoffset - the index of first
char in the given
char arraycount - the length of the subarray in
charspublic static int[] codePoints(CharSequence seq, int beginIndex, int endIndex)
beginIndex and extends to the
char at index
endIndex - 1. Thus the length (in
chars) of the text range is
endIndex-beginIndex. Unpaired surrogates within the text
range count as one code point each.seq - the char sequencebeginIndex - the index to the first char of the text rangeendIndex - the index after the last
char of the text rangepublic static boolean isJavaIdentifier(int[] codePoints)
codePoints - public static boolean isJavaIdentifier(CharSequence seq)
seq - public static boolean isJavaIdentifier(char[] a)
a - Copyright © 2011-2013. All Rights Reserved.