@Test public void testEquals() { PdfToPngParameters eq1 = new PdfToPngParameters(ImageColorType.COLOR_RGB); PdfToPngParameters eq2 = new PdfToPngParameters(ImageColorType.COLOR_RGB); PdfToPngParameters eq3 = new PdfToPngParameters(ImageColorType.COLOR_RGB); PdfToPngParameters diff = new PdfToPngParameters(ImageColorType.COLOR_RGB); diff.setResolutionInDpi(120); TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof PdfToPngParameters)) { return false; } return new EqualsBuilder().appendSuper(super.equals(other)).isEquals(); }
PdfToPngParameters extends AbstractPdfToMultipleImageParameters { @Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof PdfToPngParameters)) { return false; } return new EqualsBuilder().appendSuper(super.equals(other)).isEquals(); } }
PdfToPngParameters extends AbstractPdfToMultipleImageParameters { @Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof PdfToPngParameters)) { return false; } return new EqualsBuilder().appendSuper(super.equals(other)).isEquals(); } PdfToPngParameters(ImageColorType type); }
PdfToPngParameters extends AbstractPdfToMultipleImageParameters { @Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof PdfToPngParameters)) { return false; } return new EqualsBuilder().appendSuper(super.equals(other)).isEquals(); } PdfToPngParameters(ImageColorType type); @Override ImageType getOutputImageType(); @Override boolean equals(Object other); }
PdfToPngParameters extends AbstractPdfToMultipleImageParameters { @Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof PdfToPngParameters)) { return false; } return new EqualsBuilder().appendSuper(super.equals(other)).isEquals(); } PdfToPngParameters(ImageColorType type); @Override ImageType getOutputImageType(); @Override boolean equals(Object other);  }