@Test public void isAllPages() { PdfMergeInput victim = new PdfMergeInput(source); assertTrue(victim.isAllPages()); victim.addPageRange(new PageRange(10)); assertFalse(victim.isAllPages()); }
public boolean isAllPages() { return pageSelection.isEmpty(); }
PdfMergeInput implements PageRangeSelection, PagesSelection, MergeInput { public boolean isAllPages() { return pageSelection.isEmpty(); } }
PdfMergeInput implements PageRangeSelection, PagesSelection, MergeInput { public boolean isAllPages() { return pageSelection.isEmpty(); } PdfMergeInput(PdfSource<?> source, Set<PageRange> pageSelection);  PdfMergeInput(PdfSource<?> source); }
PdfMergeInput implements PageRangeSelection, PagesSelection, MergeInput { public boolean isAllPages() { return pageSelection.isEmpty(); } PdfMergeInput(PdfSource<?> source, Set<PageRange> pageSelection);  PdfMergeInput(PdfSource<?> source); PdfSource<?> getSource(); @Override Set<PageRange> getPageSelection(); void addPageRange(PageRange range); void addAllPageRanges(Collection<PageRange> ranges); boolean isAllPages(); @Override Set<Integer> getPages(int totalNumberOfPage); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); }
PdfMergeInput implements PageRangeSelection, PagesSelection, MergeInput { public boolean isAllPages() { return pageSelection.isEmpty(); } PdfMergeInput(PdfSource<?> source, Set<PageRange> pageSelection);  PdfMergeInput(PdfSource<?> source); PdfSource<?> getSource(); @Override Set<PageRange> getPageSelection(); void addPageRange(PageRange range); void addAllPageRanges(Collection<PageRange> ranges); boolean isAllPages(); @Override Set<Integer> getPages(int totalNumberOfPage); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other);  }