Collection
or List
- ArrayList
Set
- HashSet
Queue
- LinkedList
Created subobjects are assigned to the index indicated in the path, with null entries added for preceiding indices. Generics must be declared in order to indicate the member type of the Collection (eg ListNOTE: when assigning to Arrays or Collections by index, remember that in XPath "1" is the index for first element (NOT 0). Using "1" in an XPath assigns to the first slot, using "0" will raise an IndexOutOfBoundsException.