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.-
Field Summary
Fields inherited from class org.apache.juneau.collections.JsonList
EMPTY_LISTFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
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, writeToMethods 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, toArrayMethods inherited from class java.util.AbstractSequentialList
iteratorMethods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:DelegateTheClassMetaof the class of the represented object.- Specified by:
getClassMetain interfaceDelegate<T extends Collection<?>>- Returns:
- The class type of the represented object.
-