|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.uri.ReadonlyRidList
A read-only RID list implementation. All method that modify the list will throw a UnsupportedOperationException.
| Field Summary |
| Fields inherited from interface com.sapportals.wcm.util.uri.IRidList |
SEPARATOR |
| Constructor Summary | |
ReadonlyRidList()
|
|
ReadonlyRidList(IRidList l)
Creates a new RID list using the specified RID list. |
|
ReadonlyRidList(List l)
Creates a new RID list using the specified list. |
|
| Method Summary | |
void |
add(int index,
RID rid)
|
boolean |
add(RID rid)
|
boolean |
addAll(IRidList list)
|
boolean |
addAll(String rids)
Decodes uri list string and add them to the list. |
void |
addFirst(RID rid)
|
void |
addLast(RID rid)
|
boolean |
contains(RID rid)
|
RID |
get(int index)
|
protected List |
getContainedList()
|
boolean |
isEmpty()
|
IRidIterator |
listIterator()
|
IRidIterator |
listIterator(int index)
|
RID |
remove(int index)
|
RID |
set(int index,
RID rid)
|
int |
size()
|
void |
sort(Comparator comp)
|
String |
toString()
Encodes uri list as uri strings detached by a SEPARATOR. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReadonlyRidList(List l)
l - public ReadonlyRidList(IRidList l)
l - public ReadonlyRidList()
| Method Detail |
public int size()
size in interface IRidListpublic boolean isEmpty()
isEmpty in interface IRidListpublic boolean add(RID rid)
add in interface IRidListpublic boolean addAll(IRidList list)
addAll in interface IRidListpublic boolean addAll(String rids)
IRidList toString() .
addAll in interface IRidListrids - Exp.: "\wcm\a;\wcm\b;..."public RID get(int index)
get in interface IRidList
public RID set(int index,
RID rid)
set in interface IRidList
public void add(int index,
RID rid)
add in interface IRidListpublic void addLast(RID rid)
addLast in interface IRidListpublic void addFirst(RID rid)
addFirst in interface IRidListpublic RID remove(int index)
remove in interface IRidListpublic IRidIterator listIterator()
listIterator in interface IRidListpublic IRidIterator listIterator(int index)
listIterator in interface IRidListpublic boolean contains(RID rid)
contains in interface IRidListpublic String toString()
IRidList
toString in interface IRidListprotected List getContainedList()
public void sort(Comparator comp)
sort in interface IRidList
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||