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>
-
Field Summary
Fields inherited from class jadex.collection.CollectionWrapper
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends T> c) get(int index) getList()intintlistIterator(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-