Package com.itextpdf.kernel.utils
Class PageRange.PageRangePartOddEven
java.lang.Object
com.itextpdf.kernel.utils.PageRange.PageRangePartOddEven
- All Implemented Interfaces:
-
PageRange.IPageRangePart
- Enclosing class:
- PageRange
public static class PageRange.PageRangePartOddEven extends Object implements PageRange.IPageRangePart
Class for range part for all even or odd pages. The class contains only 2 instances, one for odd pages and one for even pages.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PageRange.PageRangePartOddEven
static final PageRange.PageRangePartOddEven
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllPagesInRange
(int nbPages) int
hashCode()
boolean
isPageInRange
(int pageNumber)
-
Field Details
-
ODD
-
EVEN
-
-
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()
-