Package jadex.collection
Class ListWrapper<T>
java.lang.Object
jadex.collection.CollectionWrapper<T>
jadex.collection.ListWrapper<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
,SequencedCollection<T>
-
Field Summary
Fields inherited from class jadex.collection.CollectionWrapper
delegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addAll
(int index, Collection<? extends T> c) get
(int index) getList()
int
int
listIterator
(int index) remove
(int index) subList
(int fromIndex, int toIndex) Methods inherited from class jadex.collection.CollectionWrapper
add, addAll, clear, contains, containsAll, entryAdded, entryChanged, entryRemoved, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ListWrapper
Create a new wrapper.- Parameters:
delegate
- The delegate.
-
-
Method Details
-
getList
-
addAll
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
subList
-