327 |
* |
* |
328 |
* @return the byte value |
* @return the byte value |
329 |
* @since 1.1 |
* @since 1.1 |
330 |
* @XXX Add this method |
*/ |
331 |
public byte byteValue() |
public byte byteValue() |
332 |
{ |
{ |
333 |
return (byte) value; |
return (byte) value; |
334 |
} |
} |
|
*/ |
|
335 |
|
|
336 |
/** |
/** |
337 |
* Return the value of this <code>Float</code> as a <code>short</code>. |
* Return the value of this <code>Float</code> as a <code>short</code>. |
338 |
* |
* |
339 |
* @return the short value |
* @return the short value |
340 |
* @since 1.1 |
* @since 1.1 |
341 |
* @XXX Add this method |
*/ |
342 |
public short shortValue() |
public short shortValue() |
343 |
{ |
{ |
344 |
return (short) value; |
return (short) value; |
345 |
} |
} |
|
*/ |
|
346 |
|
|
347 |
/** |
/** |
348 |
* Return the value of this <code>Integer</code> as an <code>int</code>. |
* Return the value of this <code>Integer</code> as an <code>int</code>. |
500 |
*/ |
*/ |
501 |
public int compareTo(Object o) |
public int compareTo(Object o) |
502 |
{ |
{ |
503 |
return compareTo(value, ((Float) o).value); |
return compare(value, ((Float) o).value); |
504 |
} |
} |
505 |
|
|
506 |
/** |
/** |