/[classpath]/classpath/java/awt/Insets.java
ViewVC logotype

Diff of /classpath/java/awt/Insets.java

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

revision 1.3 by mark, Sun Jan 13 15:45:15 2002 UTC revision 1.4 by tromey, Tue Jan 22 22:00:14 2002 UTC
# Line 1  Line 1 
1  /* Insets.java -- Information about a container border.  /* Insets.java -- Information about a container border.
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 103  Insets(int top, int left, int bottom, in Line 103  Insets(int top, int left, int bottom, in
103  public boolean  public boolean
104  equals(Object obj)  equals(Object obj)
105  {  {
   if (obj == null)  
     return(false);  
   
106    if (!(obj instanceof Insets))    if (!(obj instanceof Insets))
107      return(false);      return(false);
108    
# Line 123  equals(Object obj) Line 120  equals(Object obj)
120    return(true);    return(true);
121  }  }
122    
123    public int
124    hashCode()
125    {
126      return top + bottom + left + right;
127    }
128    
129  /*************************************************************************/  /*************************************************************************/
130    
131  /**  /**
# Line 158  clone() Line 161  clone()
161  }  }
162    
163  } // class Insets  } // class Insets
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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