boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DItemElement that = (DItemElement)o; if (myName != null ? !myName.equals(that.myName) : that.myName != null) return false; if (myType != null ? !myType.equals(that.myType) : that.myType != null) return false; if (myStatic != that.myStatic) return false; return true; }