@Test public void testPutTransition() { SetPagesTransitionParameters victim = new SetPagesTransitionParameters(); PdfPageTransition firstTransition = PdfPageTransition.newInstance(PdfPageTransitionStyle.DISSOLVE, 1, 5); victim.putTransition(3, firstTransition); Assert.assertEquals(1, victim.getTransitions().size()); PdfPageTransition secondTransition = PdfPageTransition.newInstance(PdfPageTransitionStyle.BOX_INWARD, 1, 2); PdfPageTransition result = victim.putTransition(3, secondTransition); Assert.assertEquals(firstTransition, result); Assert.assertEquals(1, victim.getTransitions().size()); }
public PdfPageTransition putTransition(Integer page, PdfPageTransition transition) { return transitions.put(page, transition); }
SetPagesTransitionParameters extends SinglePdfSourceSingleOutputParameters { public PdfPageTransition putTransition(Integer page, PdfPageTransition transition) { return transitions.put(page, transition); } }
SetPagesTransitionParameters extends SinglePdfSourceSingleOutputParameters { public PdfPageTransition putTransition(Integer page, PdfPageTransition transition) { return transitions.put(page, transition); } SetPagesTransitionParameters();  SetPagesTransitionParameters(PdfPageTransition defaultTransition); }
SetPagesTransitionParameters extends SinglePdfSourceSingleOutputParameters { public PdfPageTransition putTransition(Integer page, PdfPageTransition transition) { return transitions.put(page, transition); } SetPagesTransitionParameters();  SetPagesTransitionParameters(PdfPageTransition defaultTransition); boolean isFullScreen(); void setFullScreen(boolean fullScreen); PdfPageTransition putTransition(Integer page, PdfPageTransition transition); void clearTransitions(); Map<Integer, PdfPageTransition> getTransitions(); PdfPageTransition getDefaultTransition(); PdfPageTransition getOrDefault(int page); @Override int hashCode(); @Override boolean equals(Object other); }
SetPagesTransitionParameters extends SinglePdfSourceSingleOutputParameters { public PdfPageTransition putTransition(Integer page, PdfPageTransition transition) { return transitions.put(page, transition); } SetPagesTransitionParameters();  SetPagesTransitionParameters(PdfPageTransition defaultTransition); boolean isFullScreen(); void setFullScreen(boolean fullScreen); PdfPageTransition putTransition(Integer page, PdfPageTransition transition); void clearTransitions(); Map<Integer, PdfPageTransition> getTransitions(); PdfPageTransition getDefaultTransition(); PdfPageTransition getOrDefault(int page); @Override int hashCode(); @Override boolean equals(Object other);  }