comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/graphics/Point.d @ 36:d46287db17ed

rakefile reorg, swt win phobosification
author Frank Benoit <benoit@tionex.de>
date Tue, 24 Mar 2009 08:48:41 +0100
parents 6bf2837c50fe
children
comparison
equal deleted inserted replaced
35:634e4380db78 36:d46287db17ed
75 * @param object the object to compare with this object 75 * @param object the object to compare with this object
76 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise 76 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise
77 * 77 *
78 * @see #hashCode() 78 * @see #hashCode()
79 */ 79 */
80 public override int opEquals (Object object) { 80 public override equals_t opEquals (Object object) {
81 if (object is this) return true; 81 if (object is this) return true;
82 if ( auto p = cast(Point)object ){ 82 if ( auto p = cast(Point)object ){
83 return (p.x is this.x) && (p.y is this.y); 83 return (p.x is this.x) && (p.y is this.y);
84 } 84 }
85 return false; 85 return false;