Lines Matching defs:value

31      * The value which the receiver represents.
33 private final byte value;
36 * The maximum {@code Byte} value, 2<sup>7</sup>-1.
41 * The minimum {@code Byte} value, -2<sup>7</sup>.
46 * The number of bits needed to represent a {@code Byte} value in two's
63 * Constructs a new {@code Byte} with the specified primitive byte value.
65 * @param value
66 * the primitive byte value to store in the new instance.
68 public Byte(byte value) {
69 this.value = value;
76 * the string representation of a single byte value.
78 * if {@code string} cannot be parsed as a byte value.
86 * Gets the primitive value of this byte.
88 * @return this object's primitive value.
92 return value;
101 * @return a negative value if the value of this byte is less than the value
102 * of {@code object}; 0 if the value of this byte and the value of
103 * {@code object} are equal; a positive value if the value of this
104 * byte is greater than the value of {@code object}.
109 return compare(value, object.value);
123 * string can be decoded into a single byte value. The string may be an
128 * a string representation of a single byte value.
129 * @return a {@code Byte} containing the value represented by {@code string}.
131 * if {@code string} cannot be parsed as a byte value.
144 return value;
150 * {@code Byte} and have the same byte value as this object.
160 return (object == this) || ((object instanceof Byte) && (((Byte) object).value == value));
165 return value;
170 return value;
175 return value;
180 return value;
184 * Parses the specified string as a signed decimal byte value. The ASCII
188 * the string representation of a single byte value.
189 * @return the primitive byte value represented by {@code string}.
191 * if {@code string} can not be parsed as a byte value.
198 * Parses the specified string as a signed byte value using the specified
202 * the string representation of a single byte value.
205 * @return the primitive byte value represented by {@code string} using
208 * if {@code string} can not be parsed as a byte value, or
223 return value;
228 return Integer.toString(value);
241 * specified byte value.
243 * @param value
245 * @return a printable representation of {@code value}.
247 public static String toString(byte value) {
248 return Integer.toString(value);
252 * Parses the specified string as a signed decimal byte value.
255 * the string representation of a single byte value.
256 * @return a {@code Byte} instance containing the byte value represented by
259 * if {@code string} can not be parsed as a byte value.
267 * Parses the specified string as a signed byte value using the specified
271 * the string representation of a single byte value.
274 * @return a {@code Byte} instance containing the byte value represented by
277 * if {@code string} can not be parsed as a byte value, or
287 * Returns a {@code Byte} instance for the specified byte value.
294 * the byte value to store in the instance.