Java Utililty Methods Char Code Get

List of utility methods to do Char Code Get

  1. HOME
  2. Java
  3. C
  4. Char Code Get

Description

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

Method

int codePointAt(char[] s, int i)
code Point At
return Character.codePointAt(s, i);
int codePointAt(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;
...
int codePointAt(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)) {
...
int CodePointAt(String str, int index)
Gets the Unicode code point at the given index of the string.
return CodePointAt(str, index, 0);
int CodePointAt(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;
...
int codePointAt(String theString, int point)
code Point At
return toUnicode(theString, false).charAt(point);


AltStyle によって変換されたページ (->オリジナル) /