/[classpath]/classpath/java/lang/Short.java
ViewVC logotype

Diff of /classpath/java/lang/Short.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15.2.3 by tromey, Sat Nov 6 22:11:53 2004 UTC revision 1.15.2.4 by gnu_andrew, Mon Jan 10 18:25:48 2005 UTC
# Line 1  Line 1 
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    
# Line 48  package java.lang; Line 48  package java.lang;
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   */   */
# Line 369  public final class Short extends Number Line 371  public final class Short extends Number
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     */     */

Legend:
Removed from v.1.15.2.3  
changed lines
  Added in v.1.15.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26