Uses of Class
java.lang.Character
Packages that useCharacter Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.lang Provides classes that are fundamental to the design of the Java programming language.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.Uses ofCharacter injava.awt
Methods injava.awt with parameters of typeCharacter Modifier and Type Method Description staticAWTKeyStrokeAWTKeyStroke. getAWTKeyStroke(Character keyChar, int modifiers)Returns a shared instance of anAWTKeyStrokethat represents aKEY_TYPEDevent for the specified Character object and a set of modifiers.Uses ofCharacter injava.lang
Fields injava.lang with type parameters of typeCharacter Modifier and Type Field Description staticClass<Character>Character. TYPETheClassinstance representing the primitive typechar.Methods injava.lang that returnCharacter Modifier and Type Method Description staticCharacterCharacter. valueOf(char c)Returns aCharacterinstance representing the specifiedcharvalue.Methods injava.lang with parameters of typeCharacter Modifier and Type Method Description intCharacter. compareTo(Character anotherCharacter)Compares twoCharacterobjects numerically.Uses ofCharacter injava.util
Methods injava.util that return types with arguments of typeCharacter Modifier and Type Method Description Set<Character>Locale. getExtensionKeys()Returns the set of extension keys associated with this locale, or the empty set if it has no extensions.Uses ofCharacter injavax.management.openmbean
Fields injavax.management.openmbean with type parameters of typeCharacter Modifier and Type Field Description staticSimpleType<Character>SimpleType. CHARACTERTheSimpleTypeinstance describing values whose Java class name isjava.lang.Character.Uses ofCharacter injavax.swing
Methods injavax.swing with parameters of typeCharacter Modifier and Type Method Description staticKeyStrokeKeyStroke. getKeyStroke(Character keyChar, int modifiers)Returns a shared instance of aKeyStrokethat represents aKEY_TYPEDevent for the specified Character object and a set of modifiers.