Java Utililty Methods Char Code Get

List of utility methods to do Char Code Get

Description

The list of methods to do Char Code Get are organized into topic(s).

Method

intcodePointAt(char[] s, int i)
code Point At
return Character.codePointAt(s, i);
intcodePointAt(final char c1, final char c2)
code Point At
if (Character.isHighSurrogate(c1)) {
    if (c2 >= 0) {
        if (Character.isLowSurrogate(c2)) {
            return Character.toCodePoint(c1, c2);
return c1;
...
intcodePointAt(String _this, int index)
Returns the character (Unicode code point) at the specified index.
if ((index < 0) || (index >= _this.length())) {
    throw new StringIndexOutOfBoundsException(index);
char c1 = _this.charAt(index++);
if (Character.isHighSurrogate(c1)) {
    if (index < _this.length()) {
        char c2 = _this.charAt(index);
        if (Character.isLowSurrogate(c2)) {
...
intCodePointAt(String str, int index)
Gets the Unicode code point at the given index of the string.
return CodePointAt(str, index, 0);
intCodePointAt(String str, int index, int endIndex)
Code Point At
if (str == null) {
    throw new NullPointerException("str");
if (index >= endIndex) {
    return -1;
if (index < 0) {
    return -1;
...
intcodePointAt(String theString, int point)
code Point At
return toUnicode(theString, false).charAt(point);