1 |
/* Short.java -- object wrapper for short |
/* Short.java -- object wrapper for short |
2 |
Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation, Inc. |
Copyright (C) 1998, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
48 |
* @author Paul Fisher |
* @author Paul Fisher |
49 |
* @author John Keiser |
* @author John Keiser |
50 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake <ebb9@email.byu.edu> |
51 |
|
* @author Tom Tromey (tromey@redhat.com) |
52 |
|
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
53 |
* @since 1.1 |
* @since 1.1 |
54 |
* @status updated to 1.5 |
* @status updated to 1.5 |
55 |
*/ |
*/ |
371 |
} |
} |
372 |
|
|
373 |
/** |
/** |
|
* Behaves like <code>compareTo(Short)</code> unless the Object |
|
|
* is not a <code>Short</code>. |
|
|
* |
|
|
* @param o the object to compare |
|
|
* @return the comparison |
|
|
* @throws ClassCastException if the argument is not a <code>Short</code> |
|
|
* @see #compareTo(Short) |
|
|
* @see Comparable |
|
|
* @since 1.2 |
|
|
*/ |
|
|
public int compareTo(Object o) |
|
|
{ |
|
|
return compareTo((Short)o); |
|
|
} |
|
|
|
|
|
/** |
|
374 |
* Reverse the bytes in val. |
* Reverse the bytes in val. |
375 |
* @since 1.5 |
* @since 1.5 |
376 |
*/ |
*/ |