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
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 usual
ArrayList
and should have the same complexity (because keys are unique
integers, so collisions are impossible). Class doesn't implement List
interface because it provides
only methods which are in use in PdfPagesTree
class.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
map
-
size
private int size
-
-
Constructor Details
-
NullUnlimitedList
NullUnlimitedList()
-
-
Method Details
-
add
-
add
-
get
-
set
-
indexOf
-
remove
public void remove(int index) -
size
public int size()
-