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

# Uses of Class
java.lang.Byte

Packages that use Byte
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 Byte in java.lang

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

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

  Methods in java.lang that return types with arguments of type Byte
  Modifier and Type | Method | Description
  --- | --- | ---
  `Optional<DynamicConstantDesc<Byte>>` | Byte.`describeConstable()` | Returns an `Optional` containing the nominal descriptor for this instance.

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

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

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