@Test public void equals() { assertEquality( new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: assertInequality( new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: assertInequality( new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: new ImageLinkEvent(new LinkAttributes(), new ImageAttributes(), "http: "http: }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ImageLinkEvent)) { return false; } ImageLinkEvent other = (ImageLinkEvent) obj; return Objects.equals(href, other.href) && Objects.equals(imageUrl, other.imageUrl); }
ImageLinkEvent extends DocumentBuilderEvent { @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ImageLinkEvent)) { return false; } ImageLinkEvent other = (ImageLinkEvent) obj; return Objects.equals(href, other.href) && Objects.equals(imageUrl, other.imageUrl); } }
ImageLinkEvent extends DocumentBuilderEvent { @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ImageLinkEvent)) { return false; } ImageLinkEvent other = (ImageLinkEvent) obj; return Objects.equals(href, other.href) && Objects.equals(imageUrl, other.imageUrl); } ImageLinkEvent(Attributes linkAttributes, Attributes imageAttributes, String href, String imageUrl); }
ImageLinkEvent extends DocumentBuilderEvent { @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ImageLinkEvent)) { return false; } ImageLinkEvent other = (ImageLinkEvent) obj; return Objects.equals(href, other.href) && Objects.equals(imageUrl, other.imageUrl); } ImageLinkEvent(Attributes linkAttributes, Attributes imageAttributes, String href, String imageUrl); @Override void invoke(DocumentBuilder builder); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
ImageLinkEvent extends DocumentBuilderEvent { @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ImageLinkEvent)) { return false; } ImageLinkEvent other = (ImageLinkEvent) obj; return Objects.equals(href, other.href) && Objects.equals(imageUrl, other.imageUrl); } ImageLinkEvent(Attributes linkAttributes, Attributes imageAttributes, String href, String imageUrl); @Override void invoke(DocumentBuilder builder); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }