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

Diff of /classpath/java/awt/DisplayMode.java

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

revision 1.1 by ericb, Mon Mar 18 22:40:25 2002 UTC revision 1.2 by mkoch, Thu Sep 26 05:44:11 2002 UTC
# Line 143  public final class DisplayMode Line 143  public final class DisplayMode
143     * @param o the object to compare to     * @param o the object to compare to
144     * @return true if it is equal     * @return true if it is equal
145     */     */
146    public boolean equals(Object o)    public boolean equals(DisplayMode m)
147    {    {
     if (! (o instanceof DisplayMode))  
       return false;  
     DisplayMode m = (DisplayMode) o;  
148      return width == m.width && height == m.height && bitDepth == m.bitDepth      return width == m.width && height == m.height && bitDepth == m.bitDepth
149        && refreshRate == m.refreshRate;        && refreshRate == m.refreshRate;
150    }    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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