Package com.itextpdf.kernel.pdf
Class PdfPagesTree.NullUnlimitedList<T>
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfPagesTree.NullUnlimitedList<T>
-
- Type Parameters:
T
- elements of the list
- Enclosing class:
- PdfPagesTree
static final class PdfPagesTree.NullUnlimitedList<T> extends java.lang.Object
The class represents a list which allows null elements, but doesn't allocate a memory for them, in the rest of cases it behaves like usualArrayList
and should have the same complexity (because keys are unique integers, so collisions are impossible). Class doesn't implementList
interface because it provides only methods which are in use inPdfPagesTree
class.
-
-
Constructor Summary
Constructors Constructor Description NullUnlimitedList()
-
-
-
Field Detail
-
map
private final java.util.Map<java.lang.Integer,T> map
-
size
private int size
-
-