Example usage for Java java.lang Byte fields, constructors, methods, implement or subclass
The text is from its open source code.
byte | MIN_VALUE A constant holding the minimum value a byte can have, -27. |
byte | MAX_VALUE A constant holding the maximum value a byte can have, 27-1. |
Class | TYPE The Class instance representing the primitive type byte . |
int | SIZE The number of bits used to represent a byte value in two's complement binary form. |
int | BYTES The number of bytes used to represent a byte value in two's complement binary form. |
Byte(byte value) Constructs a newly allocated Byte object that represents the specified byte value. | |
Byte(String s) Constructs a newly allocated Byte object that represents the byte value indicated by the String parameter. |
byte | byteValue() Returns the value of this Byte as a byte . |
int | compare(byte x, byte y) Compares two byte values numerically. |
int | compareTo(Byte anotherByte) Compares two Byte objects numerically. |
Byte | decode(String nm) Decodes a String into a Byte . |
double | doubleValue() Returns the value of this Byte as a double after a widening primitive conversion. |
boolean | equals(Object obj) Compares this object to the specified object. |
float | floatValue() Returns the value of this Byte as a float after a widening primitive conversion. |
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code for this Byte ; equal to the result of invoking intValue() . |
int | hashCode(byte value) Returns a hash code for a byte value; compatible with Byte.hashCode() . |
int | intValue() Returns the value of this Byte as an int after a widening primitive conversion. |
long | longValue() Returns the value of this Byte as a long after a widening primitive conversion. |
byte | parseByte(String s) Parses the string argument as a signed decimal byte . |
byte | parseByte(String s, int radix) Parses the string argument as a signed byte in the radix specified by the second argument. |
short | shortValue() Returns the value of this Byte as a short after a widening primitive conversion. |
String | toString() Returns a String object representing this Byte 's value. |
String | toString(byte b) Returns a new String object representing the specified byte . |
int | toUnsignedInt(byte x) Converts the argument to an int by an unsigned conversion. |
long | toUnsignedLong(byte x) Converts the argument to a long by an unsigned conversion. |
Byte | valueOf(byte b) Returns a Byte instance representing the specified byte value. |
Byte | valueOf(String s) Returns a Byte object holding the value given by the specified String . |
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. |