static class BridgeCollections.UnmodifiableBridgeList<E> extends Object implements BridgeList<E>
| Modifier and Type | Field and Description |
|---|---|
(package private) List<E> |
c |
(package private) BridgeList<E> |
parent |
| Constructor and Description |
|---|
UnmodifiableBridgeList() |
UnmodifiableBridgeList(BridgeList<E> c) |
UnmodifiableBridgeList(List<E> c,
BridgeList<E> parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int i,
Object o) |
boolean |
add(Object o) |
boolean |
addAll(Collection<? extends E> coll) |
boolean |
addAll(int i,
Collection<? extends E> coll) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> coll) |
boolean |
equals(Object o) |
E |
get(int i) |
Map<Object,Object> |
getProperties()
Returns an (unmodifiable) view on all properties of this list (See
BridgeList.getProperty(java.lang.Object)). |
Object |
getProperty(Object key)
Retrieves a property previously set for this list.
|
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int s) |
E |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> coll) |
boolean |
retainAll(Collection<?> coll) |
E |
set(int i,
Object o) |
void |
setProperty(Object key,
Object value)
Sets a property for this list.
|
int |
size() |
void |
sort()
Sorts this list according to a default sort order.
|
void |
sort(Comparator<? super E> comparator)
Sorts this list according to a specified sort order
|
BridgeList<E> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, spliteratorparallelStream, removeIf, streamfinal BridgeList<E> parent
UnmodifiableBridgeList()
UnmodifiableBridgeList(BridgeList<E> c)
UnmodifiableBridgeList(List<E> c, BridgeList<E> parent)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public ListIterator<E> listIterator(int s)
listIterator in interface List<E>public ListIterator<E> listIterator()
listIterator in interface List<E>public boolean add(Object o)
public boolean remove(Object o)
public boolean containsAll(Collection<?> coll)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean addAll(Collection<? extends E> coll)
public boolean addAll(int i,
Collection<? extends E> coll)
public boolean removeAll(Collection<?> coll)
public boolean retainAll(Collection<?> coll)
public void clear()
public Object getProperty(Object key)
BridgeListgetProperty in interface BridgeList<E>key - the key of the propertypublic Map<Object,Object> getProperties()
BridgeListBridgeList.getProperty(java.lang.Object)).getProperties in interface BridgeList<E>public void setProperty(Object key, Object value)
BridgeListsetProperty in interface BridgeList<E>key - the key of the propertyvalue - the property valuepublic void sort()
BridgeListsort in interface BridgeList<E>public void sort(Comparator<? super E> comparator)
BridgeListpublic BridgeList<E> subList(int fromIndex, int toIndex)
public int lastIndexOf(Object o)
lastIndexOf in interface List<E>public boolean equals(Object o)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}