Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.list.AbstractListDecorator
org.apache.commons.collections.list.AbstractSerializableListDecorator
org.apache.commons.collections.list.UnmodifiableList
List
to ensure it can't be altered.
This class is Serializable from Commons Collections 3.1.
Field Summary |
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator | |
collection |
Method Summary | |
boolean |
|
void |
|
boolean |
|
boolean |
|
void |
|
static List |
|
Iterator |
|
ListIterator | |
ListIterator |
|
boolean |
|
Object |
|
boolean |
|
boolean |
|
Object |
|
List |
|
Methods inherited from class org.apache.commons.collections.list.AbstractListDecorator | |
add , addAll , get , getList , indexOf , lastIndexOf , listIterator , listIterator , remove , set , subList |
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator | |
add , addAll , clear , contains , containsAll , equals , getCollection , hashCode , isEmpty , iterator , remove , removeAll , retainAll , size , toArray , toArray , toString |
public boolean addAll(Collection coll)
- Overrides:
- addAll in interface AbstractCollectionDecorator
public boolean addAll(int index, Collection coll)
- Overrides:
- addAll in interface AbstractListDecorator
public static List decorate(List list)
Factory method to create an unmodifiable list.
- Parameters:
list
- the list to decorate, must not be null
public ListIterator listIterator()
- Overrides:
- listIterator in interface AbstractListDecorator
public ListIterator listIterator(int index)
- Overrides:
- listIterator in interface AbstractListDecorator
public boolean removeAll(Collection coll)
- Overrides:
- removeAll in interface AbstractCollectionDecorator
public boolean retainAll(Collection coll)
- Overrides:
- retainAll in interface AbstractCollectionDecorator
public List subList(int fromIndex, int toIndex)
- Overrides:
- subList in interface AbstractListDecorator