|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.alcs.connect.util.PagedList<E>
E
- the generic type of the Listpublic class PagedList<E>
Read-only paged version of a List. All methods which modify the list throw UnsupportedOperationException.
Constructor Summary | |
---|---|
PagedList(java.util.List<E> list,
Paging paging)
Creates a paged list of a generic type. |
Method Summary | ||
---|---|---|
boolean |
add(E obj)
Unsupported operation for the read-only list. |
|
void |
add(int index,
E element)
Unsupported operation for the read-only list. |
|
boolean |
addAll(java.util.Collection<? extends E> coll)
Unsupported operation for the read-only list. |
|
boolean |
addAll(int index,
java.util.Collection<? extends E> coll)
Unsupported operation for the read-only list. |
|
void |
clear()
Unsupported operation for the read-only list. |
|
boolean |
contains(java.lang.Object obj)
|
|
boolean |
containsAll(java.util.Collection<?> coll)
|
|
E |
get(int index)
|
|
int |
indexOf(java.lang.Object obj)
|
|
boolean |
isEmpty()
|
|
java.util.Iterator<E> |
iterator()
|
|
int |
lastIndexOf(java.lang.Object obj)
|
|
java.util.ListIterator<E> |
listIterator()
|
|
java.util.ListIterator<E> |
listIterator(int index)
|
|
E |
remove(int index)
Unsupported operation for the read-only list. |
|
boolean |
remove(java.lang.Object obj)
Unsupported operation for the read-only list. |
|
boolean |
removeAll(java.util.Collection<?> coll)
Unsupported operation for the read-only list. |
|
boolean |
retainAll(java.util.Collection<?> coll)
Unsupported operation for the read-only list. |
|
E |
set(int index,
E element)
Unsupported operation for the read-only list. |
|
int |
size()
|
|
java.util.List<E> |
subList(int fromIndex,
int toIndex)
Unsupported operation for the read-only list. |
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] array)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Constructor Detail |
---|
public PagedList(java.util.List<E> list, Paging paging)
list
- the list to pagepaging
- the paging informationMethod Detail |
---|
public boolean contains(java.lang.Object obj)
contains
in interface java.util.Collection<E>
contains
in interface java.util.List<E>
obj
- object
List.contains(Object)
public boolean containsAll(java.util.Collection<?> coll)
containsAll
in interface java.util.Collection<E>
containsAll
in interface java.util.List<E>
coll
- collection
List.containsAll(Collection)
public E get(int index)
get
in interface java.util.List<E>
index
- index
List.get(int)
public int indexOf(java.lang.Object obj)
indexOf
in interface java.util.List<E>
obj
- object
List.indexOf(Object)
public boolean isEmpty()
isEmpty
in interface java.util.Collection<E>
isEmpty
in interface java.util.List<E>
List.isEmpty()
public java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E>
iterator
in interface java.util.Collection<E>
iterator
in interface java.util.List<E>
List.iterator()
public int lastIndexOf(java.lang.Object obj)
lastIndexOf
in interface java.util.List<E>
obj
- object
List.lastIndexOf(Object)
public java.util.ListIterator<E> listIterator()
listIterator
in interface java.util.List<E>
List.listIterator()
public java.util.ListIterator<E> listIterator(int index)
listIterator
in interface java.util.List<E>
index
- index
List.listIterator(int)
public int size()
size
in interface java.util.Collection<E>
size
in interface java.util.List<E>
List.size()
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<E>
toArray
in interface java.util.List<E>
List.toArray()
public <T> T[] toArray(T[] array)
toArray
in interface java.util.Collection<E>
toArray
in interface java.util.List<E>
T
- type of arrayarray
- array
List.toArray(Object[])
public void add(int index, E element)
add
in interface java.util.List<E>
index
- indexelement
- elementpublic boolean add(E obj)
add
in interface java.util.Collection<E>
add
in interface java.util.List<E>
obj
- object
public boolean addAll(java.util.Collection<? extends E> coll)
addAll
in interface java.util.Collection<E>
addAll
in interface java.util.List<E>
coll
- collection
public boolean addAll(int index, java.util.Collection<? extends E> coll)
addAll
in interface java.util.List<E>
index
- indexcoll
- collection
public void clear()
clear
in interface java.util.Collection<E>
clear
in interface java.util.List<E>
public E remove(int index)
remove
in interface java.util.List<E>
index
- index
public boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection<E>
remove
in interface java.util.List<E>
obj
- object
public boolean removeAll(java.util.Collection<?> coll)
removeAll
in interface java.util.Collection<E>
removeAll
in interface java.util.List<E>
coll
- collection
public boolean retainAll(java.util.Collection<?> coll)
retainAll
in interface java.util.Collection<E>
retainAll
in interface java.util.List<E>
coll
- collection
public E set(int index, E element)
set
in interface java.util.List<E>
index
- indexelement
- element
public java.util.List<E> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<E>
fromIndex
- from indextoIndex
- to index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |