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.marshall.collections.MarshalledList
org.apache.juneau.marshall.collections.JsonList
org.apache.juneau.marshall.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.marshall.collections.JsonList
EMPTY_LISTFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.marshall.collections.JsonList
append, append, append, appendIf, appendIf, appendReverse, appendReverse, cast, create, getList, getMap, modifiable, of, of, ofArrays, ofCollections, ofJsonOrCdl, ofString, ofString, ofString, ofString, session, setBeanSession, toHjson, toJcs, toJson, toJson5, toJsonl, toString, unmodifiable, writeToMethods inherited from class org.apache.juneau.marshall.collections.MarshalledList
at, bs, deleteAt, elements, get, get, getAt, getAt, getBoolean, getClassMeta, getInt, getList, getLong, getMap, getMarshallingSession, getString, isUnmodifiable, postAt, putAt, toStringMethods 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
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, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Constructor Details
-
DelegateList
Constructor.- Parameters:
classMeta- The data type represented by this delegate.
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection<T extends Collection<?>>- Specified by:
equalsin interfaceList<T extends Collection<?>>- Overrides:
equalsin classAbstractList<Object>
-
hashCode
- Specified by:
hashCodein interfaceCollection<T extends Collection<?>>- Specified by:
hashCodein interfaceList<T extends Collection<?>>- Overrides:
hashCodein classAbstractList<Object>
-
getBeanInfo
Description copied from interface:DelegateTheBeanInfoof the class of the represented object.- Specified by:
getBeanInfoin interfaceDelegate<T extends Collection<?>>- Returns:
- The class type of the represented object.
-