Example usage for Java com.google.common.primitives Bytes fields, constructors, methods, implement or subclass
The text is from its open source code.
List | asList(byte... backingArray) Returns a fixed-size list backed by the specified array, similar to Arrays#asList(Object[]) . |
byte[] | concat(byte[]... arrays) Returns the values from each provided array combined into a single array. |
boolean | contains(byte[] array, byte target) Returns true if target is present as an element anywhere in array . |
byte[] | ensureCapacity(byte[] array, int minLength, int padding) Returns an array containing the same values as array , but guaranteed to be of a specified minimum length. |
int | hashCode(byte value) Returns a hash code for value ; equal to the result of invoking ((Byte) value).hashCode() . |
int | indexOf(byte[] array, byte target) Returns the index of the first appearance of the value target in array . |
int | indexOf(byte[] array, byte[] target) Returns the start position of the first occurrence of the specified target within array , or -1 if there is no such occurrence. |
int | lastIndexOf(byte[] array, byte target) Returns the index of the last appearance of the value target in array . |
byte[] | toArray(Collection extends Number> collection) Returns an array containing each value of collection , converted to a byte value in the manner of Number#byteValue . |