Package org.apache.juneau.internal
Class DelegateList<T extends Collection<?>>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Object>
org.apache.juneau.collections.JsonList
org.apache.juneau.internal.DelegateList<T>
- Type Parameters:
T
- The class type of the wrapped bean.
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Object>
,Collection<Object>
,Deque<Object>
,List<Object>
,Queue<Object>
,Delegate<T>
Represents a wrapped
Collection
where entries in the list can be removed or reordered without affecting the
underlying list.
See Also:
-
Field Summary
Fields inherited from class org.apache.juneau.collections.JsonList
EMPTY_LIST
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.collections.JsonList
append, append, append, appendIf, appendIf, appendReverse, appendReverse, asJson, asString, asString, cast, create, deleteAt, elements, get, get, getAt, getAt, getBeanSession, getBoolean, getClassMeta, getInt, getList, getList, getLong, getMap, getMap, getString, isUnmodifiable, modifiable, of, of, ofArrays, ofCollections, ofJson, ofJson, ofJsonOrCdl, ofText, ofText, postAt, putAt, session, setBeanSession, toString, unmodifiable, writeTo
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSequentialList
iterator
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Constructor Details
-
DelegateList
Constructor.- Parameters:
classMeta
- The data type represented by this delegate.
-
-
Method Details
-
getClassMeta
Description copied from interface:Delegate
TheClassMeta
of the class of the represented object.- Specified by:
getClassMeta
in interfaceDelegate<T extends Collection<?>>
- Returns:
- The class type of the represented object.
-