| 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. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Class<Byte> | Byte. TYPE The  Classinstance representing the primitive typebyte. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Byte  | Byte. decode (String nm)Decodes a  Stringinto aByte. | 
| static Byte  | Byte. valueOf (byte b)Returns a  Byteinstance representing the specifiedbytevalue. | 
| static Byte  | Byte. valueOf (String s)Returns a  Byteobject holding the value
 given by the specifiedString. | 
| static Byte  | Byte. valueOf (String s,
 int radix)Returns a  Byteobject holding the value
 extracted from the specifiedStringwhen parsed
 with the radix given by the second argument. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | Byte. compareTo (Byte anotherByte)Compares two  Byteobjects numerically. | 
| Modifier and Type | Field and Description | 
|---|---|
| static SimpleType<Byte> | SimpleType. BYTE The  SimpleTypeinstance describing values whose
 Java class name isjava.lang.Byte. | 
 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, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.