Package org.apache.felix.framework.util
Class ImmutableList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.apache.felix.framework.util.ImmutableList<E>
- All Implemented Interfaces:
 Iterable<E>,Collection<E>,List<E>,RandomAccess,SequencedCollection<E>
- 
Field Summary
Fields inherited from class java.util.AbstractList
modCount - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImmutableList(E... elements) protectedImmutableList(Collection<? extends E> elements)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()get(int index) iterator()listIterator(int index) static <E> ImmutableList<E> newInstance(E... elements) static <E> ImmutableList<E> newInstance(Collection<? extends E> elements) booleanbooleanremoveAll(Collection<?> clctn) booleanretainAll(Collection<?> c) intsize()Methods inherited from class java.util.AbstractList
add, add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, 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, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeFirst, removeLast, replaceAll, reversed, sort, spliterator, toArray, toArray 
- 
Constructor Details
- 
ImmutableList
 - 
ImmutableList
 
 - 
 - 
Method Details
- 
newInstance
 - 
newInstance
 - 
get
 - 
size
public int size()- Specified by:
 sizein interfaceCollection<E>- Specified by:
 sizein interfaceList<E>- Specified by:
 sizein classAbstractCollection<E>
 - 
remove
- Specified by:
 removein interfaceCollection<E>- Specified by:
 removein interfaceList<E>- Overrides:
 removein classAbstractCollection<E>
 - 
removeAll
- Specified by:
 removeAllin interfaceCollection<E>- Specified by:
 removeAllin interfaceList<E>- Overrides:
 removeAllin classAbstractCollection<E>
 - 
clear
public void clear()- Specified by:
 clearin interfaceCollection<E>- Specified by:
 clearin interfaceList<E>- Overrides:
 clearin classAbstractList<E>
 - 
retainAll
- Specified by:
 retainAllin interfaceCollection<E>- Specified by:
 retainAllin interfaceList<E>- Overrides:
 retainAllin classAbstractCollection<E>
 - 
iterator
 - 
listIterator
- Specified by:
 listIteratorin interfaceList<E>- Overrides:
 listIteratorin classAbstractList<E>
 
 -