Package com.itextpdf.kernel.utils
Class PageRange.PageRangePartSingle
java.lang.Object
com.itextpdf.kernel.utils.PageRange.PageRangePartSingle
- All Implemented Interfaces:
-
PageRange.IPageRangePart
- Enclosing class:
- PageRange
public static class PageRange.PageRangePartSingle extends Object implements PageRange.IPageRangePart
Class for range part containing a single page
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllPagesInRange
(int nbPages) int
hashCode()
boolean
isPageInRange
(int pageNumber)
-
Constructor Details
-
PageRangePartSingle
public PageRangePartSingle(int page)
-
-
Method Details
-
getAllPagesInRange
- Specified by:
-
getAllPagesInRange
in interfacePageRange.IPageRangePart
-
isPageInRange
public boolean isPageInRange(int pageNumber) - Specified by:
-
isPageInRange
in interfacePageRange.IPageRangePart
-
equals
-
hashCode
public int hashCode()
-