PDF4Java Reference Documentation
com.o2sol.pdf4java.core.collections Package / Collection<T> Class / add Method / add(int,T) Method
Index at which the specified element is to be inserted.
Element to be inserted.
Collapse All Expand All
In This Topic

add(int,T) Method
In This Topic
Adds an object to the collection.
Syntax

    public void add(
       int index,
       T item
    )

#### Parameters

index
  Index at which the specified element is to be inserted.
item
  Element to be inserted.

See Also

#### Reference

Collection<T> Class
Collection<T> Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.