Example usage for Java com.google.common.primitives UnsignedBytes fields, constructors, methods, implement or subclass
The text is from its open source code.
byte | MAX_VALUE The largest value that fits into an unsigned byte. |
byte | checkedCast(long value) Returns the byte value that, when treated as unsigned, is equal to value , if possible. |
int | compare(byte a, byte b) Compares the two specified byte values, treating them as unsigned values between 0 and 255 inclusive. |
String | join(String separator, byte... array) Returns a string containing the supplied byte values separated by separator . |
Comparator | lexicographicalComparator() Returns a comparator that compares two byte arrays lexicographically. |
byte | parseUnsignedByte(String string, int radix) Returns the unsigned byte value represented by a string with the given radix. |
byte | parseUnsignedByte(String string) Returns the unsigned byte value represented by the given decimal string. |
byte | saturatedCast(long value) Returns the byte value that, when treated as unsigned, is nearest in value to value . |
int | toInt(byte value) Returns the value of the given byte as an integer, when treated as unsigned. |
String | toString(byte x, int radix) Returns a string representation of x for the given radix, where x is treated as unsigned. |
String | toString(byte x) Returns a string representation of x, where x is treated as unsigned. |