|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.icu.lang.CharSequences
public class CharSequences
A number of utilities for dealing with CharSequences and related classes. For accessing codepoints with a CharSequence, also see
Character.codePointAt(CharSequence, int)
Character.codePointBefore(CharSequence, int)
Character.codePointCount(CharSequence, int, int)
Character.charCount(int)
Character.offsetByCodePoints(CharSequence, int, int)
Character.toChars(int, char[], int)
Character.toCodePoint(char, char)
Method Summary | ||
---|---|---|
int |
codePointLength(CharSequence s)
Deprecated. This API is ICU internal only. |
|
static int[] |
codePoints(CharSequence s)
Deprecated. This API is ICU internal only. |
|
static int |
compare(CharSequence a,
CharSequence b)
Deprecated. This API is ICU internal only. |
|
static int |
compare(CharSequence string,
int codePoint)
Deprecated. This API is ICU internal only. |
|
static int |
compare(int codepoint,
CharSequence a)
Deprecated. This API is ICU internal only. |
|
static boolean |
equals(CharSequence other,
int codepoint)
Deprecated. This API is ICU internal only. |
|
static boolean |
equals(int codepoint,
CharSequence other)
Deprecated. This API is ICU internal only. |
|
static
|
equals(T a,
T b)
Deprecated. This API is ICU internal only. |
|
static boolean |
equalsChars(CharSequence a,
CharSequence b)
Deprecated. This API is ICU internal only. |
|
static int |
getSingleCodePoint(CharSequence s)
Deprecated. This API is ICU internal only. |
|
static int |
indexOf(CharSequence s,
int codePoint)
Deprecated. This API is ICU internal only. |
|
static int |
matchAfter(CharSequence a,
CharSequence b,
int aIndex,
int bIndex)
Deprecated. This API is ICU internal only. |
|
static boolean |
onCharacterBoundary(CharSequence s,
int i)
Deprecated. This API is ICU internal only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int matchAfter(CharSequence a, CharSequence b, int aIndex, int bIndex)
public int codePointLength(CharSequence s)
public static final boolean equals(int codepoint, CharSequence other)
public static final boolean equals(CharSequence other, int codepoint)
public static int compare(CharSequence string, int codePoint)
public static int compare(int codepoint, CharSequence a)
public static int getSingleCodePoint(CharSequence s)
public static final <T> boolean equals(T a, T b)
public static int compare(CharSequence a, CharSequence b)
public static boolean equalsChars(CharSequence a, CharSequence b)
public static boolean onCharacterBoundary(CharSequence s, int i)
public static int indexOf(CharSequence s, int codePoint)
public static int[] codePoints(CharSequence s)
for (int codePoint : CharSequences.codePoints(string)) { doSomethingWith(codePoint); }
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |