Package com.tngtech.archunit.base
Class ForwardingList<T>
java.lang.Object
com.tngtech.archunit.base.ForwardingCollection<T>
com.tngtech.archunit.base.ForwardingList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
- Direct Known Subclasses:
FailureMessages,ThrowsClause
@PublicAPI(usage=ACCESS)
public abstract class ForwardingList<T>
extends ForwardingCollection<T>
implements List<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends T> c) delegate()get(int index) intintlistIterator(int index) remove(int index) subList(int fromIndex, int toIndex) Methods inherited from class com.tngtech.archunit.base.ForwardingCollection
add, addAll, clear, contains, containsAll, 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
-
ForwardingList
protected ForwardingList()
-
-
Method Details
-
delegate
- Specified by:
delegatein classForwardingCollection<T>
-
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
-