Module java.base
Package java.lang

# Class Character

=
public final class Character
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<java.lang.Character>, java.lang.constant.Constable

## Nested Types

- = Subset
- = UnicodeBlock
- = UnicodeScript

## Fields

- =
  public static final int BYTES = 2
- =
  public static final byte COMBINING_SPACING_MARK = 8
- =
  public static final byte CONNECTOR_PUNCTUATION = 23
- =
  public static final byte CONTROL = 15
- =
  public static final byte CURRENCY_SYMBOL = 26
- =
  public static final byte DASH_PUNCTUATION = 20
- =
  public static final byte DECIMAL_DIGIT_NUMBER = 9
- =
  public static final byte DIRECTIONALITY_ARABIC_NUMBER = 6
- =
  public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9
- =
  public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7
- =
  public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = 3
- =
  public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4
- =
  public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5
- =
  public static final byte DIRECTIONALITY_FIRST_STRONG_ISOLATE = 21
- =
  public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = 0
- =
  public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14
- =
  public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_ISOLATE = 19
- =
  public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15
- =
  public static final byte DIRECTIONALITY_NONSPACING_MARK = 8
- =
  public static final byte DIRECTIONALITY_OTHER_NEUTRALS = 13
- =
  public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10
- =
  public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18
- =
  public static final byte DIRECTIONALITY_POP_DIRECTIONAL_ISOLATE = 22
- =
  public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = 1
- =
  public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2
- =
  public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16
- =
  public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ISOLATE = 20
- =
  public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17
- =
  public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = 11
- =
  public static final byte DIRECTIONALITY_UNDEFINED = -1
- =
  public static final byte DIRECTIONALITY_WHITESPACE = 12
- =
  public static final byte ENCLOSING_MARK = 7
- =
  public static final byte END_PUNCTUATION = 22
- =
  public static final byte FINAL_QUOTE_PUNCTUATION = 30
- =
  public static final byte FORMAT = 16
- =
  public static final byte INITIAL_QUOTE_PUNCTUATION = 29
- =
  public static final byte LETTER_NUMBER = 10
- =
  public static final byte LINE_SEPARATOR = 13
- =
  public static final byte LOWERCASE_LETTER = 2
- =
  public static final byte MATH_SYMBOL = 25
- =
  public static final int MAX_CODE_POINT = 1114111
- =
  public static final char MAX_HIGH_SURROGATE = '\udbff'
- =
  public static final char MAX_LOW_SURROGATE = '\udfff'
- =
  public static final int MAX_RADIX = 36
- =
  public static final char MAX_SURROGATE = '\udfff'
- =
  public static final char MAX_VALUE = ''
- =
  public static final int MIN_CODE_POINT = 0
- =
  public static final char MIN_HIGH_SURROGATE = '\ud800'
- =
  public static final char MIN_LOW_SURROGATE = '\udc00'
- =
  public static final int MIN_RADIX = 2
- =
  public static final int MIN_SUPPLEMENTARY_CODE_POINT = 65536
- =
  public static final char MIN_SURROGATE = '\ud800'
- =
  public static final char MIN_VALUE = '\u0000'
- =
  public static final byte MODIFIER_LETTER = 4
- =
  public static final byte MODIFIER_SYMBOL = 27
- =
  public static final byte NON_SPACING_MARK = 6
- =
  public static final byte OTHER_LETTER = 5
- =
  public static final byte OTHER_NUMBER = 11
- =
  public static final byte OTHER_PUNCTUATION = 24
- =
  public static final byte OTHER_SYMBOL = 28
- =
  public static final byte PARAGRAPH_SEPARATOR = 14
- =
  public static final byte PRIVATE_USE = 18
- =
  public static final int SIZE = 16
- =
  public static final byte SPACE_SEPARATOR = 12
- =
  public static final byte START_PUNCTUATION = 21
- =
  public static final byte SURROGATE = 19
- =
  public static final byte TITLECASE_LETTER = 3
- =
  public static final java.lang.Class<java.lang.Character> TYPE
- =
  public static final byte UNASSIGNED = 0
- =
  public static final byte UPPERCASE_LETTER = 1

## Constructors

- =
  @Deprecated(since="9"forRemoval=true)
  public Character(char arg0)

## Methods

- =
  public static int charCount(int arg0)
- =
  public char charValue()
- =
  public static int codePointAt(char[] arg0, int arg1)
- =
  public static int codePointAt(char[] arg0, int arg1, int arg2)
- =
  public static int codePointAt(java.lang.CharSequence arg0, int arg1)
- =
  public static int codePointBefore(char[] arg0, int arg1)
- =
  public static int codePointBefore(char[] arg0, int arg1, int arg2)
- =
  public static int codePointBefore(java.lang.CharSequence arg0, int arg1)
- =
  public static int codePointCount(char[] arg0, int arg1, int arg2)
- =
  public static int codePointCount(java.lang.CharSequence arg0, int arg1, int arg2)
- =
  public static int codePointOf(java.lang.String arg0)
- =
  public static int compare(char arg0, char arg1)
- =
  public int compareTo(java.lang.Character arg0)
- =
  public java.util.Optional<java.lang.constant.DynamicConstantDesc<java.lang.Character>> describeConstable()
- =
  public static int digit(int arg0, int arg1)
- =
  public static int digit(char arg0, int arg1)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static char forDigit(int arg0, int arg1)
- =
  public static byte getDirectionality(int arg0)
- =
  public static byte getDirectionality(char arg0)
- =
  public static java.lang.String getName(int arg0)
- =
  public static int getNumericValue(int arg0)
- =
  public static int getNumericValue(char arg0)
- =
  public static int getType(int arg0)
- =
  public static int getType(char arg0)
- =
  public int hashCode()
- =
  public static int hashCode(char arg0)
- =
  public static char highSurrogate(int arg0)
- =
  public static boolean isAlphabetic(int arg0)
- =
  public static boolean isBmpCodePoint(int arg0)
- =
  public static boolean isDefined(int arg0)
- =
  public static boolean isDefined(char arg0)
- =
  public static boolean isDigit(int arg0)
- =
  public static boolean isDigit(char arg0)
- =
  public static boolean isEmoji(int arg0)
- =
  public static boolean isEmojiComponent(int arg0)
- =
  public static boolean isEmojiModifier(int arg0)
- =
  public static boolean isEmojiModifierBase(int arg0)
- =
  public static boolean isEmojiPresentation(int arg0)
- =
  public static boolean isExtendedPictographic(int arg0)
- =
  public static boolean isHighSurrogate(char arg0)
- =
  public static boolean isISOControl(int arg0)
- =
  public static boolean isISOControl(char arg0)
- =
  public static boolean isIdentifierIgnorable(int arg0)
- =
  public static boolean isIdentifierIgnorable(char arg0)
- =
  public static boolean isIdeographic(int arg0)
- =
  public static boolean isJavaIdentifierPart(int arg0)
- =
  public static boolean isJavaIdentifierPart(char arg0)
- =
  public static boolean isJavaIdentifierStart(int arg0)
- =
  public static boolean isJavaIdentifierStart(char arg0)
- =
  @Deprecated(since="1.1")
  public static boolean isJavaLetter(char arg0)
- =
  @Deprecated(since="1.1")
  public static boolean isJavaLetterOrDigit(char arg0)
- =
  public static boolean isLetter(int arg0)
- =
  public static boolean isLetter(char arg0)
- =
  public static boolean isLetterOrDigit(int arg0)
- =
  public static boolean isLetterOrDigit(char arg0)
- =
  public static boolean isLowSurrogate(char arg0)
- =
  public static boolean isLowerCase(int arg0)
- =
  public static boolean isLowerCase(char arg0)
- =
  public static boolean isMirrored(int arg0)
- =
  public static boolean isMirrored(char arg0)
- =
  @Deprecated(since="1.1")
  public static boolean isSpace(char arg0)
- =
  public static boolean isSpaceChar(int arg0)
- =
  public static boolean isSpaceChar(char arg0)
- =
  public static boolean isSupplementaryCodePoint(int arg0)
- =
  public static boolean isSurrogate(char arg0)
- =
  public static boolean isSurrogatePair(char arg0, char arg1)
- =
  public static boolean isTitleCase(int arg0)
- =
  public static boolean isTitleCase(char arg0)
- =
  public static boolean isUnicodeIdentifierPart(int arg0)
- =
  public static boolean isUnicodeIdentifierPart(char arg0)
- =
  public static boolean isUnicodeIdentifierStart(int arg0)
- =
  public static boolean isUnicodeIdentifierStart(char arg0)
- =
  public static boolean isUpperCase(int arg0)
- =
  public static boolean isUpperCase(char arg0)
- =
  public static boolean isValidCodePoint(int arg0)
- =
  public static boolean isWhitespace(int arg0)
- =
  public static boolean isWhitespace(char arg0)
- =
  public static char lowSurrogate(int arg0)
- =
  public static int offsetByCodePoints(char[] arg0, int arg1, int arg2, int arg3, int arg4)
- =
  public static int offsetByCodePoints(java.lang.CharSequence arg0, int arg1, int arg2)
- =
  public static char reverseBytes(char arg0)
- =
  public static char[] toChars(int arg0)
- =
  public static int toChars(int arg0, char[] arg1, int arg2)
- =
  public static int toCodePoint(char arg0, char arg1)
- =
  public static int toLowerCase(int arg0)
- =
  public static char toLowerCase(char arg0)
- =
  public java.lang.String toString()
- =
  public static java.lang.String toString(int arg0)
- =
  public static java.lang.String toString(char arg0)
- =
  public static int toTitleCase(int arg0)
- =
  public static char toTitleCase(char arg0)
- =
  public static int toUpperCase(int arg0)
- =
  public static char toUpperCase(char arg0)
- =
  public static java.lang.Character valueOf(char arg0)

## Serialized Form

=

### serialVersionUID

=3786198910865385080

### Serialized Fields

- =
  char value

## Summary

No differences.