Package org.osgi.util.converter
Class AbstractCollectionDelegate<T>
java.lang.Object
org.osgi.util.converter.AbstractCollectionDelegate<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,SequencedCollection<T>
- Direct Known Subclasses:
ArrayDelegate,CollectionDelegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) voidclear()booleanbooleancontainsAll(Collection<?> c) intiterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) subList(int fromIndex, int toIndex) <X> X[]toArray(X[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, get, getFirst, getLast, hashCode, isEmpty, removeFirst, removeLast, replaceAll, reversed, size, sort, spliterator, toArray
-
Constructor Details
-
AbstractCollectionDelegate
AbstractCollectionDelegate()
-
-
Method Details
-
add
-
remove
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
iterator
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
toArray
public <X> X[] toArray(X[] a) -
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-