Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.base - Package : java.lang
Version documentée : Java SE 17

Classe « Character »

Informations générales

Héritage

java.lang.Object
    java.lang.Character

Interfaces implémentées

java.io.Serializable
java.lang.Comparable<java.lang.Character>
java.lang.constant.Constable

Définition

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

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
public static int BYTES
public static byte COMBINING_SPACING_MARK
public static byte CONNECTOR_PUNCTUATION
public static byte CONTROL
public static byte CURRENCY_SYMBOL
public static byte DASH_PUNCTUATION
public static byte DECIMAL_DIGIT_NUMBER
public static byte DIRECTIONALITY_ARABIC_NUMBER
public static byte DIRECTIONALITY_BOUNDARY_NEUTRAL
public static byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR
public static byte DIRECTIONALITY_EUROPEAN_NUMBER
public static byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
public static byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR
public static byte DIRECTIONALITY_FIRST_STRONG_ISOLATE
public static byte DIRECTIONALITY_LEFT_TO_RIGHT
public static byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING
public static byte DIRECTIONALITY_LEFT_TO_RIGHT_ISOLATE
public static byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE
public static byte DIRECTIONALITY_NONSPACING_MARK
public static byte DIRECTIONALITY_OTHER_NEUTRALS
public static byte DIRECTIONALITY_PARAGRAPH_SEPARATOR
public static byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT
public static byte DIRECTIONALITY_POP_DIRECTIONAL_ISOLATE
public static byte DIRECTIONALITY_RIGHT_TO_LEFT
public static byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC
public static byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING
public static byte DIRECTIONALITY_RIGHT_TO_LEFT_ISOLATE
public static byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE
public static byte DIRECTIONALITY_SEGMENT_SEPARATOR
public static byte DIRECTIONALITY_UNDEFINED
public static byte DIRECTIONALITY_WHITESPACE
public static byte ENCLOSING_MARK
public static byte END_PUNCTUATION
public static byte FINAL_QUOTE_PUNCTUATION
public static byte FORMAT
public static byte INITIAL_QUOTE_PUNCTUATION
public static byte LETTER_NUMBER
public static byte LINE_SEPARATOR
public static byte LOWERCASE_LETTER
public static byte MATH_SYMBOL
public static int MAX_CODE_POINT
public static char MAX_HIGH_SURROGATE
public static char MAX_LOW_SURROGATE
public static int MAX_RADIX
public static char MAX_SURROGATE
public static char MAX_VALUE
public static int MIN_CODE_POINT
public static char MIN_HIGH_SURROGATE
public static char MIN_LOW_SURROGATE
public static int MIN_RADIX
public static int MIN_SUPPLEMENTARY_CODE_POINT
public static char MIN_SURROGATE
public static char MIN_VALUE
public static byte MODIFIER_LETTER
public static byte MODIFIER_SYMBOL
public static byte NON_SPACING_MARK
public static byte OTHER_LETTER
public static byte OTHER_NUMBER
public static byte OTHER_PUNCTUATION
public static byte OTHER_SYMBOL
public static byte PARAGRAPH_SEPARATOR
public static byte PRIVATE_USE
public static int SIZE
public static byte SPACE_SEPARATOR
public static byte START_PUNCTUATION
public static byte SURROGATE
public static byte TITLECASE_LETTER
public static Class TYPE
public static byte UNASSIGNED
public static byte UPPERCASE_LETTER

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
Character( char value )

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public static int charCount( int codePoint )
public char charValue()
public static int codePointAt( char[] a, int index )
public static int codePointAt( char[] a, int index, int limit )
public static int codePointAt( CharSequence seq, int index )
public static int codePointBefore( CharSequence seq, int index )
public static int codePointBefore( char[] a, int index )
public static int codePointBefore( char[] a, int index, int start )
public static int codePointCount( char[] a, int offset, int count )
public static int codePointCount( CharSequence seq, int beginIndex, int endIndex )
public static int codePointOf( String name )
public static int compare( char x, char y )
public int compareTo( Character anotherCharacter )
public Optional<java.lang.constant.DynamicConstantDesc<java.lang.Character>> describeConstable()
public static int digit( int codePoint, int radix )
public static int digit( char ch, int radix )
public boolean equals( Object obj )
public static char forDigit( int digit, int radix )
public static byte getDirectionality( int codePoint )
public static byte getDirectionality( char ch )
public static String getName( int codePoint )
public static int getNumericValue( int codePoint )
public static int getNumericValue( char ch )
public static int getType( char ch )
public static int getType( int codePoint )
public static int hashCode( char value )
public int hashCode()
public static char highSurrogate( int codePoint )
public static boolean isAlphabetic( int codePoint )
public static boolean isBmpCodePoint( int codePoint )
public static boolean isDefined( int codePoint )
public static boolean isDefined( char ch )
public static boolean isDigit( int codePoint )
public static boolean isDigit( char ch )
public static boolean isHighSurrogate( char ch )
public static boolean isIdentifierIgnorable( int codePoint )
public static boolean isIdentifierIgnorable( char ch )
public static boolean isIdeographic( int codePoint )
public static boolean isISOControl( char ch )
public static boolean isISOControl( int codePoint )
public static boolean isJavaIdentifierPart( char ch )
public static boolean isJavaIdentifierPart( int codePoint )
public static boolean isJavaIdentifierStart( char ch )
public static boolean isJavaIdentifierStart( int codePoint )
public static boolean isJavaLetter( char ch )
public static boolean isJavaLetterOrDigit( char ch )
public static boolean isLetter( char ch )
public static boolean isLetter( int codePoint )
public static boolean isLetterOrDigit( int codePoint )
public static boolean isLetterOrDigit( char ch )
public static boolean isLowerCase( int codePoint )
public static boolean isLowerCase( char ch )
public static boolean isLowSurrogate( char ch )
public static boolean isMirrored( char ch )
public static boolean isMirrored( int codePoint )
public static boolean isSpace( char ch )
public static boolean isSpaceChar( int codePoint )
public static boolean isSpaceChar( char ch )
public static boolean isSupplementaryCodePoint( int codePoint )
public static boolean isSurrogate( char ch )
public static boolean isSurrogatePair( char high, char low )
public static boolean isTitleCase( int codePoint )
public static boolean isTitleCase( char ch )
public static boolean isUnicodeIdentifierPart( int codePoint )
public static boolean isUnicodeIdentifierPart( char ch )
public static boolean isUnicodeIdentifierStart( int codePoint )
public static boolean isUnicodeIdentifierStart( char ch )
public static boolean isUpperCase( char ch )
public static boolean isUpperCase( int codePoint )
public static boolean isValidCodePoint( int codePoint )
public static boolean isWhitespace( int codePoint ) Cette méthode permet de vérifier si le caractère, pour le « code point » (le code numérique du caractère) spécifié en paramètre, est de type « white space ».
public static boolean isWhitespace( char ch ) Cette méthode permet de vérifier si un caractère est de type « white space ».
public static char lowSurrogate( int codePoint )
public static int offsetByCodePoints( CharSequence seq, int index, int codePointOffset )
public static int offsetByCodePoints( char[] a, int start, int count, int index, int codePointOffset )
public static char reverseBytes( char ch )
public static char[] toChars( int codePoint )
public static int toChars( int codePoint, char[] dst, int dstIndex )
public static int toCodePoint( char high, char low )
public static int toLowerCase( int codePoint )
public static char toLowerCase( char ch )
public static String toString( int codePoint )
public String toString()
public static String toString( char c )
public static int toTitleCase( int codePoint )
public static char toTitleCase( char ch )
public static char toUpperCase( char ch )
public static int toUpperCase( int codePoint )
public static Character valueOf( char c )

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait