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

Diff of /classpath/java/lang/Object.java

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

revision 1.18.2.1 by tromey, Sat Aug 7 20:07:55 2004 UTC revision 1.18.2.2 by gnu_andrew, Sat Jan 15 17:01:52 2005 UTC
# Line 1  Line 1 
1  /* java.lang.Object - The universal superclass in Java  /* java.lang.Object - The universal superclass in Java
2     Copyright (C) 1998, 1999, 2001, 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004
3       Free Software Foundation, Inc.
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 38  exception statement from your version. * Line 39  exception statement from your version. *
39    
40  package java.lang;  package java.lang;
41    
 import gnu.classpath.Configuration;  
42    
43  /**  /**
44   * Object is the ultimate superclass of every class   * Object is the ultimate superclass of every class
# Line 56  import gnu.classpath.Configuration; Line 56  import gnu.classpath.Configuration;
56   * of <code>clone</code> which is accessible.   * of <code>clone</code> which is accessible.
57   *   *
58   * @author John Keiser   * @author John Keiser
59   * @author Eric Blake <ebb9@email.byu.edu>   * @author Eric Blake (ebb9@email.byu.edu)
60   * @since 1.0   * @author Tom Tromey (tromey@cygnus.com)
61   */   */
62  public class Object  public class Object
63  {  {
# Line 125  public class Object Line 125  public class Object
125     *     *
126     * <p>The default implementation returns <code>this == o</code>.     * <p>The default implementation returns <code>this == o</code>.
127     *     *
128     * @param o the Object to compare to     * @param obj the Object to compare to
129     * @return whether this Object is semantically equal to another     * @return whether this Object is semantically equal to another
130     * @see #hashCode()     * @see #hashCode()
131     */     */
132    public boolean equals(Object o)    public boolean equals(Object obj)
133    {    {
134      return this == o;      return this == obj;
135    }    }
136    
137    /**    /**

Legend:
Removed from v.1.18.2.1  
changed lines
  Added in v.1.18.2.2

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