1 16 package com.google.gwt.user.client; 17 18 import com.google.gwt.core.client.JavaScriptObject; 19 20 29 public final class Element extends JavaScriptObject { 30 31 36 protected Element() { 37 } 38 39 44 public boolean equals(Object other) { 45 if (other instanceof Element) { 46 return DOM.compare(this, (Element) other); 47 } 48 49 return super.equals(other); 50 } 51 52 57 public int hashCode() { 58 return super.hashCode(); 59 } 60 61 66 public String toString() { 67 return DOM.toString(this); 68 }; 69 } 70 | Popular Tags |