Package org.osgi.test.common.list
Class ListSupplierDelegate<E>
java.lang.Object
org.osgi.test.common.list.ListSupplierDelegate<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanvoidget(int index) inthashCode()intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanvoidreplaceAll(UnaryOperator<E> operator) booleanretainAll(Collection<?> c) intsize()voidsort(Comparator<? super E> c) stream()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a)
-
Constructor Details
-
ListSupplierDelegate
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
equals
-
forEach
-
get
-
hashCode
public int hashCode() -
indexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
parallelStream
- Specified by:
parallelStreamin interfaceCollection<E>
-
remove
-
remove
-
removeAll
-
removeIf
- Specified by:
removeIfin interfaceCollection<E>
-
replaceAll
- Specified by:
replaceAllin interfaceList<E>
-
retainAll
-
set
-
size
public int size() -
sort
-
spliterator
- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>- Specified by:
spliteratorin interfaceList<E>
-
stream
- Specified by:
streamin interfaceCollection<E>
-
subList
-
toArray
-
toArray
public <T> T[] toArray(T[] a)
-