Lines Matching full:code
27 * Static utility methods pertaining to {@code byte} primitives that
40 * Returns the {@code byte} value that is equal to {@code value}, if possible.
42 * @param value any value in the range of the {@code byte} type
43 * @return the {@code byte} value that equals {@code value}
44 * @throws IllegalArgumentException if {@code value} is greater than {@link
54 * Returns the {@code byte} nearest in value to {@code value}.
56 * @param value any {@code long} value
57 * @return the same value cast to {@code byte} if it is in the range of the
58 * {@code byte} type, {@link Byte#MAX_VALUE} if it is too large,
72 * Compares the two specified {@code byte} values. The sign of the value
73 * returned is the same as that of {@code ((Byte) a).compareTo(b)}.
75 * @param a the first {@code byte} to compare
76 * @param b the second {@code byte} to compare
77 * @return a negative value if {@code a} is less than {@code b}; a positive
78 * value if {@code a} is greater than {@code b}; or zero if they are equal
85 * Returns the least value present in {@code array}.
87 * @param array a <i>nonempty</i> array of {@code byte} values
88 * @return the value present in {@code array} that is less than or equal to
90 * @throws IllegalArgumentException if {@code array} is empty
104 * Returns the greatest value present in {@code array}.
106 * @param array a <i>nonempty</i> array of {@code byte} values
107 * @return the value present in {@code array} that is greater than or equal to
109 * @throws IllegalArgumentException if {@code array} is empty
123 * Returns a string containing the supplied {@code byte} values separated
124 * by {@code separator}. For example, {@code join(":", 0x01, 0x02, -0x01)}
125 * returns the string {@code "1:2:-1"}.
129 * @param array an array of {@code byte} values, possibly empty
147 * Returns a comparator that compares two {@code byte} arrays
151 * array as the lesser. For example, {@code [] < [0x01] < [0x01, 0x80] <