@Test public void testGetPageSelection() { ExtractPagesParameters victim = new ExtractPagesParameters(PredefinedSetOfPages.EVEN_PAGES); assertTrue(victim.getPageSelection().isEmpty()); ExtractPagesParameters victim2 = new ExtractPagesParameters(); victim2.addPageRange(new PageRange(12)); assertFalse(victim2.getPageSelection().isEmpty()); }
@Override public Set<PageRange> getPageSelection() { return Collections.unmodifiableSet(pageSelection); }
ExtractPagesParameters extends MultiplePdfSourceMultipleOutputParameters implements PageRangeSelection,
        PagesSelection, OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters { @Override public Set<PageRange> getPageSelection() { return Collections.unmodifiableSet(pageSelection); } }
ExtractPagesParameters extends MultiplePdfSourceMultipleOutputParameters implements PageRangeSelection,
        PagesSelection, OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters { @Override public Set<PageRange> getPageSelection() { return Collections.unmodifiableSet(pageSelection); } ExtractPagesParameters();  ExtractPagesParameters(PredefinedSetOfPages predefinedSetOfPages); }
ExtractPagesParameters extends MultiplePdfSourceMultipleOutputParameters implements PageRangeSelection,
        PagesSelection, OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters { @Override public Set<PageRange> getPageSelection() { return Collections.unmodifiableSet(pageSelection); } ExtractPagesParameters();  ExtractPagesParameters(PredefinedSetOfPages predefinedSetOfPages); void addPageRange(PageRange range); void addAllPageRanges(Collection<PageRange> ranges); PredefinedSetOfPages getPredefinedSetOfPages(); @Override Set<PageRange> getPageSelection(); @Override Set<Integer> getPages(int upperLimit); List<Set<Integer>> getPagesSets(int upperLimit); @Override OptimizationPolicy getOptimizationPolicy(); @Override void setOptimizationPolicy(OptimizationPolicy optimizationPolicy); @Override boolean discardOutline(); @Override void discardOutline(boolean discardOutline); boolean isInvertSelection(); void setInvertSelection(boolean invertSelection); boolean isSeparateFileForEachRange(); void setSeparateFileForEachRange(boolean separateFileForEachRange); @Override int hashCode(); @Override boolean equals(Object other); }
ExtractPagesParameters extends MultiplePdfSourceMultipleOutputParameters implements PageRangeSelection,
        PagesSelection, OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters { @Override public Set<PageRange> getPageSelection() { return Collections.unmodifiableSet(pageSelection); } ExtractPagesParameters();  ExtractPagesParameters(PredefinedSetOfPages predefinedSetOfPages); void addPageRange(PageRange range); void addAllPageRanges(Collection<PageRange> ranges); PredefinedSetOfPages getPredefinedSetOfPages(); @Override Set<PageRange> getPageSelection(); @Override Set<Integer> getPages(int upperLimit); List<Set<Integer>> getPagesSets(int upperLimit); @Override OptimizationPolicy getOptimizationPolicy(); @Override void setOptimizationPolicy(OptimizationPolicy optimizationPolicy); @Override boolean discardOutline(); @Override void discardOutline(boolean discardOutline); boolean isInvertSelection(); void setInvertSelection(boolean invertSelection); boolean isSeparateFileForEachRange(); void setSeparateFileForEachRange(boolean separateFileForEachRange); @Override int hashCode(); @Override boolean equals(Object other);  }