@Deprecated
public class CharSequences
extends java.lang.Object
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)| Modifier and Type | Method and Description |
|---|---|
int |
codePointLength(java.lang.CharSequence s)
Deprecated.
This API is ICU internal only.
|
static int[] |
codePoints(java.lang.CharSequence s)
Deprecated.
This API is ICU internal only.
|
static int |
compare(java.lang.CharSequence a,
java.lang.CharSequence b)
Deprecated.
This API is ICU internal only.
|
static int |
compare(java.lang.CharSequence string,
int codePoint)
Deprecated.
This API is ICU internal only.
|
static int |
compare(int codepoint,
java.lang.CharSequence a)
Deprecated.
This API is ICU internal only.
|
static boolean |
equals(java.lang.CharSequence other,
int codepoint)
Deprecated.
This API is ICU internal only.
|
static boolean |
equals(int codepoint,
java.lang.CharSequence other)
Deprecated.
This API is ICU internal only.
|
static <T> boolean |
equals(T a,
T b)
Deprecated.
This API is ICU internal only.
|
static boolean |
equalsChars(java.lang.CharSequence a,
java.lang.CharSequence b)
Deprecated.
This API is ICU internal only.
|
static int |
getSingleCodePoint(java.lang.CharSequence s)
Deprecated.
This API is ICU internal only.
|
static int |
indexOf(java.lang.CharSequence s,
int codePoint)
Deprecated.
This API is ICU internal only.
|
static int |
matchAfter(java.lang.CharSequence a,
java.lang.CharSequence b,
int aIndex,
int bIndex)
Deprecated.
This API is ICU internal only.
|
static boolean |
onCharacterBoundary(java.lang.CharSequence s,
int i)
Deprecated.
This API is ICU internal only.
|
@Deprecated
public static int matchAfter(java.lang.CharSequence a,
java.lang.CharSequence b,
int aIndex,
int bIndex)
@Deprecated public int codePointLength(java.lang.CharSequence s)
@Deprecated
public static final boolean equals(int codepoint,
java.lang.CharSequence other)
@Deprecated
public static final boolean equals(java.lang.CharSequence other,
int codepoint)
@Deprecated
public static int compare(java.lang.CharSequence string,
int codePoint)
@Deprecated
public static int compare(int codepoint,
java.lang.CharSequence a)
@Deprecated public static int getSingleCodePoint(java.lang.CharSequence s)
@Deprecated
public static final <T> boolean equals(T a,
T b)
@Deprecated
public static int compare(java.lang.CharSequence a,
java.lang.CharSequence b)
@Deprecated
public static boolean equalsChars(java.lang.CharSequence a,
java.lang.CharSequence b)
@Deprecated
public static boolean onCharacterBoundary(java.lang.CharSequence s,
int i)
@Deprecated
public static int indexOf(java.lang.CharSequence s,
int codePoint)
@Deprecated public static int[] codePoints(java.lang.CharSequence s)
for (int codePoint : CharSequences.codePoints(string)) {
doSomethingWith(codePoint);
}
Copyright © 2016 Unicode, Inc. and others.