Package com.gentics.api.lib.resolving
Class NestedCollection
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.gentics.api.lib.resolving.NestedCollection
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable,- Collection,- List,- RandomAccess
This class is just a wrapper aroung a vector. The
 com.gentics.api.lib.resolving.PropertyResolver might return instances
 of this class for property paths that contain collections of objects on the
 way to the resolved attribute (but not the last part of the property path).
 
Example: When resolving the property
object.users.namewhere users returns a collection of linked objects, the resulting collection is an instance of this class.
- Author:
- norbert
- See Also:
- 
Field SummaryFieldsFields inherited from class java.util.VectorcapacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection c) booleanaddAll(Collection c) voidaddElement(Object obj) voidclear()Get the inner collection (unmodifiable)Methods inherited from class java.util.Vectorcapacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArray
- 
Field Details- 
innerCollection
 
- 
- 
Constructor Details- 
NestedCollectionpublic NestedCollection()
 
- 
- 
Method Details- 
add
- 
add
- 
addAll
- 
addAll
- 
addElement- Overrides:
- addElementin class- Vector
 
- 
clearpublic void clear()
- 
getInnerCollectionGet the inner collection (unmodifiable)- Returns:
- inner collection
 
 
-