class SplitBySizeParameters extends MultiplePdfSourceMultipleOutputParameters implements OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters {

    @Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof SplitBySizeParameters)) {
            return false;
        }
        SplitBySizeParameters parameter = (SplitBySizeParameters) other;
        return new EqualsBuilder().appendSuper(super.equals(other))
                .append(optimizationPolicy, parameter.getOptimizationPolicy())
                .append(sizeToSplitAt, parameter.getSizeToSplitAt()).append(discardOutline, parameter.discardOutline)
                .isEquals();
    }

    public  SplitBySizeParameters(long sizeToSplitAt);

}