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 Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection c) boolean
addAll
(Collection c) void
addElement
(Object obj) void
clear()
Get the inner collection (unmodifiable)Methods inherited from class java.util.Vector
capacity, 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, trimToSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Field Details
-
innerCollection
-
-
Constructor Details
-
NestedCollection
public NestedCollection()
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
addElement
- Overrides:
addElement
in classVector
-
clear
public void clear() -
getInnerCollection
Get the inner collection (unmodifiable)- Returns:
- inner collection
-