Uses of Class java.lang.Character (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Class
java.lang.Character

- Packages that use Character
  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, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
  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 of Character in java.awt

    Methods in java.awt with parameters of type Character
    Modifier and Type | Method and Description
    --- | ---
    `static AWTKeyStroke` | AWTKeyStroke.`getAWTKeyStroke(Character keyChar, int modifiers)` Returns a shared instance of an `AWTKeyStroke` that represents a `KEY_TYPED` event for the specified Character object and a set of modifiers.

  - ### Uses of Character in java.lang

    Fields in java.lang with type parameters of type Character
    Modifier and Type | Field and Description
    --- | ---
    `static Class<Character>` | Character.`TYPE` The `Class` instance representing the primitive type `char`.

    Methods in java.lang that return Character
    Modifier and Type | Method and Description
    --- | ---
    `static Character` | Character.`valueOf(char c)` Returns a `Character` instance representing the specified `char` value.

    Methods in java.lang with parameters of type Character
    Modifier and Type | Method and Description
    --- | ---
    `int` | Character.`compareTo(Character anotherCharacter)` Compares two `Character` objects numerically.

  - ### Uses of Character in java.util

    Methods in java.util that return types with arguments of type Character
    Modifier and Type | Method and 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 of Character in javax.management.openmbean

    Fields in javax.management.openmbean with type parameters of type Character
    Modifier and Type | Field and Description
    --- | ---
    `static SimpleType<Character>` | SimpleType.`CHARACTER` The `SimpleType` instance describing values whose Java class name is `java.lang.Character`.

  - ### Uses of Character in javax.swing

    Methods in javax.swing with parameters of type Character
    Modifier and Type | Method and Description
    --- | ---
    `static KeyStroke` | KeyStroke.`getKeyStroke(Character keyChar, int modifiers)` Returns a shared instance of a `KeyStroke` that represents a `KEY_TYPED` event for the specified Character object and a set of modifiers.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.