Java com.google.common.primitives UnsignedBytes fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.primitives UnsignedBytes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.primitives UnsignedBytes.

The text is from its open source code.

Field

byteMAX_VALUE
The largest value that fits into an unsigned byte.

Method

bytecheckedCast(long value)
Returns the byte value that, when treated as unsigned, is equal to value , if possible.
intcompare(byte a, byte b)
Compares the two specified byte values, treating them as unsigned values between 0 and 255 inclusive.
Stringjoin(String separator, byte... array)
Returns a string containing the supplied byte values separated by separator .
ComparatorlexicographicalComparator()
Returns a comparator that compares two byte arrays lexicographically.
byteparseUnsignedByte(String string, int radix)
Returns the unsigned byte value represented by a string with the given radix.
byteparseUnsignedByte(String string)
Returns the unsigned byte value represented by the given decimal string.
bytesaturatedCast(long value)
Returns the byte value that, when treated as unsigned, is nearest in value to value .
inttoInt(byte value)
Returns the value of the given byte as an integer, when treated as unsigned.
StringtoString(byte x, int radix)
Returns a string representation of x for the given radix, where x is treated as unsigned.
StringtoString(byte x)
Returns a string representation of x, where x is treated as unsigned.