Uses of Class java.lang.Short (Java SE 14 & JDK 14)
Description: use: module: java.base, package: java.lang, class: Short

# Uses of Class
java.lang.Short

Packages that use Short
Package | Description
--- | ---
java.lang | Provides classes that are fundamental to the design of the Java programming language.
javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.

- ## Uses of Short in java.lang

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

  Methods in java.lang that return Short
  Modifier and Type | Method | Description
  --- | --- | ---
  `static Short` | Short.`decode​(String nm)` | Decodes a `String` into a `Short`.
  `static Short` | Short.`valueOf​(short s)` | Returns a `Short` instance representing the specified `short` value.
  `static Short` | Short.`valueOf​(String s)` | Returns a `Short` object holding the value given by the specified `String`.
  `static Short` | Short.`valueOf​(String s, int radix)` | Returns a `Short` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.

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

- ## Uses of Short in javax.management.openmbean

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