Class ShadowList<T>
- java.lang.Object
-
- org.apache.felix.framework.resolver.ShadowList<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
public class ShadowList<T> extends java.lang.Object implements java.util.List<T>
-
-
Constructor Summary
Constructors Constructor Description ShadowList(java.util.List<T> original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int i, T e)
boolean
add(T e)
boolean
addAll(int i, java.util.Collection<? extends T> clctn)
boolean
addAll(java.util.Collection<? extends T> clctn)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> clctn)
T
get(int i)
java.util.List<T>
getOriginal()
int
indexOf(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<T>
iterator()
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<T>
listIterator()
java.util.ListIterator<T>
listIterator(int i)
T
remove(int i)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> clctn)
boolean
retainAll(java.util.Collection<?> clctn)
T
set(int i, T e)
int
size()
java.util.List<T>
subList(int i, int i1)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] ts)
-
-
-
Constructor Detail
-
ShadowList
public ShadowList(java.util.List<T> original)
-
-
Method Detail
-
getOriginal
public java.util.List<T> getOriginal()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
iterator
public java.util.Iterator<T> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] ts)
-
add
public boolean add(T e)
-
remove
public boolean remove(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> clctn)
-
addAll
public boolean addAll(java.util.Collection<? extends T> clctn)
-
addAll
public boolean addAll(int i, java.util.Collection<? extends T> clctn)
- Specified by:
addAll
in interfacejava.util.List<T>
-
removeAll
public boolean removeAll(java.util.Collection<?> clctn)
-
retainAll
public boolean retainAll(java.util.Collection<?> clctn)
-
clear
public void clear()
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interfacejava.util.List<T>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interfacejava.util.List<T>
-
listIterator
public java.util.ListIterator<T> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<T>
-
listIterator
public java.util.ListIterator<T> listIterator(int i)
- Specified by:
listIterator
in interfacejava.util.List<T>
-
-