- compare
Compares the two specified short values. The sign of the value returned is the
same as that of ((Sho
- checkedCast
Returns the short value that is equal to value, if possible.
- fromBytes
Returns the short value whose byte representation is the given 2 bytes, in
big-endian order; equival
- indexOf
Returns the start position of the first occurrence of the specified target
within array, or -1 if th
- lastIndexOf
- hashCode
Returns a hash code for value; equal to the result of invoking ((Short).Java 8
users: use Short#hash
- asList
Returns a fixed-size list backed by the specified array, similar to
Arrays#asList(Object[]). The lis
- copyOf
- toArray
Returns an array containing each value of collection, converted to a shortvalue
in the manner of Num
- toByteArray
Returns a big-endian representation of value in a 2-element byte array;
equivalent to ByteBuffer.all
- fromByteArray
Returns the short value whose big-endian representation is stored in the first 2
bytes of bytes; equ
- reverse
Reverses the elements of array between fromIndex inclusive and toIndexexclusive.
This is equivalent