Lines Matching defs:value

32      * The value which the receiver represents.
34 private final short value;
37 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1.
42 * Constant for the minimum {@code short} value, -2<sup>15</sup>.
68 * the string representation of a short value.
70 * if {@code string} cannot be parsed as a short value.
78 * Constructs a new {@code Short} with the specified primitive short value.
80 * @param value
81 * the primitive short value to store in the new instance.
83 public Short(short value) {
84 this.value = value;
89 return (byte) value;
98 * @return a negative value if the value of this short is less than the
99 * value of {@code object}; 0 if the value of this short and the
100 * value of {@code object} are equal; a positive value if the value
101 * of this short is greater than the value of {@code object}.
108 return compare(value, object.value);
122 * string can be decoded into a short value. The string may be an optional
127 * a string representation of a short value.
128 * @return a {@code Short} containing the value represented by
131 * if {@code string} cannot be parsed as a short value.
144 return value;
150 * {@code Short} and have the same short value as this object.
159 return (object instanceof Short) && (((Short) object).value == value);
164 return value;
169 return value;
174 return value;
179 return value;
183 * Parses the specified string as a signed decimal short value. The ASCII
187 * the string representation of a short value.
188 * @return the primitive short value represented by {@code string}.
190 * if {@code string} cannot be parsed as a short value.
197 * Parses the specified string as a signed short value using the specified
201 * the string representation of a short value.
204 * @return the primitive short value represented by {@code string} using
207 * if {@code string} cannot be parsed as a short value, or
221 * Gets the primitive value of this short.
223 * @return this object's primitive value.
227 return value;
232 return Integer.toString(value);
237 * specified short value with radix 10.
239 * @param value
241 * @return a printable representation of {@code value}.
243 public static String toString(short value) {
244 return Integer.toString(value);
248 * Parses the specified string as a signed decimal short value.
251 * the string representation of a short value.
252 * @return a {@code Short} instance containing the short value represented
255 * if {@code string} cannot be parsed as a short value.
263 * Parses the specified string as a signed short value using the specified
267 * the string representation of a short value.
270 * @return a {@code Short} instance containing the short value represented
273 * if {@code string} cannot be parsed as a short value, or
286 * the short value for which to reverse bytes.
287 * @return the reversed value.
295 * Returns a {@code Short} instance for the specified short value.
302 * the short value to store in the instance.