|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.bridge.util.BridgeCollections.UnmodifiableBridgeList<E>
static class BridgeCollections.UnmodifiableBridgeList<E>
| Field Summary | |
|---|---|
(package private) List<E> |
c
|
(package private) BridgeList<E> |
parent
|
| Constructor Summary | |
|---|---|
BridgeCollections.UnmodifiableBridgeList()
|
|
BridgeCollections.UnmodifiableBridgeList(BridgeList<E> c)
|
|
BridgeCollections.UnmodifiableBridgeList(List<E> c,
BridgeList<E> parent)
|
|
| Method Summary | ||
|---|---|---|
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()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final List<E> c
final BridgeList<E> parent
| Constructor Detail |
|---|
BridgeCollections.UnmodifiableBridgeList()
BridgeCollections.UnmodifiableBridgeList(BridgeList<E> c)
BridgeCollections.UnmodifiableBridgeList(List<E> c,
BridgeList<E> parent)
| Method Detail |
|---|
public int size()
size in interface Collection<E>size in interface List<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface List<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface List<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface List<E>public String toString()
toString in class Objectpublic ListIterator<E> listIterator(int s)
listIterator in interface List<E>public ListIterator<E> listIterator()
listIterator in interface List<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in interface List<E>public boolean add(Object o)
add in interface Collection<E>add in interface List<E>
public void add(int i,
Object o)
add in interface List<E>
public E set(int i,
Object o)
set in interface List<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>public E remove(int i)
remove in interface List<E>public boolean containsAll(Collection<?> coll)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean addAll(Collection<? extends E> coll)
addAll in interface Collection<E>addAll in interface List<E>
public boolean addAll(int i,
Collection<? extends E> coll)
addAll in interface List<E>public boolean removeAll(Collection<?> coll)
removeAll in interface Collection<E>removeAll in interface List<E>public boolean retainAll(Collection<?> coll)
retainAll in interface Collection<E>retainAll in interface List<E>public void clear()
clear in interface Collection<E>clear in interface List<E>public E get(int i)
get in interface List<E>public Object getProperty(Object key)
BridgeList
getProperty in interface BridgeList<E>key - the key of the property
public Map<Object,Object> getProperties()
BridgeListBridgeList.getProperty(java.lang.Object)).
getProperties in interface BridgeList<E>
public void setProperty(Object key,
Object value)
BridgeList
setProperty in interface BridgeList<E>key - the key of the propertyvalue - the property valuepublic void sort()
BridgeList
sort in interface BridgeList<E>public void sort(Comparator<? super E> comparator)
BridgeList
sort in interface BridgeList<E>comparator - the comparator defining the sort order
public BridgeList<E> subList(int fromIndex,
int toIndex)
subList in interface List<E>subList in interface BridgeList<E>public int lastIndexOf(Object o)
lastIndexOf in interface List<E>public int indexOf(Object o)
indexOf in interface List<E>public boolean equals(Object o)
equals in interface Collection<E>equals in interface List<E>equals in class Objectpublic int hashCode()
hashCode in interface Collection<E>hashCode in interface List<E>hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||