|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A typed list of ITemplate instances.
Copyright 2004 SAP AG
| Method Summary | |
void |
add(int index,
ITemplate template)
Inserts the specified template at the specified position in this list. |
boolean |
add(ITemplate template)
Add the resource to the list. |
boolean |
addAll(ITemplateList list)
Add all the elements in the specified list to this list. |
boolean |
containsTemplate(ITemplate template)
Returns true if the specified resource is a member of the list. |
ITemplateList |
difference(ITemplateList list)
Get the difference of this list to the given list. |
ITemplate |
get(int index)
Returns the template at the specified position. |
int |
indexOf(ITemplate template)
Returns the index in this list of the first occurrence of the specified template, or -1 if the List does not contain this template. |
ITemplateList |
intersection(ITemplateList list)
Get the intersection of this list and the given list. |
int |
lastIndexOf(ITemplate template)
Returns the index in this list of the last occurrence of the specified template, or -1 if the List does not contain this template. |
ITemplateListIterator |
listIterator()
Returns a template-list-iterator of the elements in this list. |
ITemplateListIterator |
listIterator(int index)
Returns a list-iterator of the elements in this list, starting at the specified position in the list. |
ITemplate |
remove(int index)
Removes the template at the specified position in this list. |
boolean |
remove(ITemplate template)
Removes the first occurence of the specified resource from the list. |
ITemplate |
set(int index,
ITemplate template)
Replaces the element at the specified position in this list with the specified template. |
int |
size()
Returns the size of the list. |
void |
sort(Comparator comp)
Sort the elements in the list using the specified comparator |
ITemplateList |
subList(int index1,
int index2)
|
ITemplateList |
union(ITemplateList list)
Get the union of this list and the given list. |
| Method Detail |
public int size()
public boolean containsTemplate(ITemplate template)
public boolean add(ITemplate template)
public boolean addAll(ITemplateList list)
list - The list whose elements are to be added to this list.
public boolean remove(ITemplate template)
public ITemplate get(int index)
index - of the template to return.
public ITemplate set(int index,
ITemplate template)
index - index of template to replace.template - template to be stored at the specified position.
public void add(int index,
ITemplate template)
index - at which the specified template is to be inserted.template - element to be inserted.public ITemplate remove(int index)
index - the index of the template to removed.
public int indexOf(ITemplate template)
template - template to search for.
public int lastIndexOf(ITemplate template)
template - template to search for.
public ITemplateListIterator listIterator()
public ITemplateListIterator listIterator(int index)
index - index of first element to be returned from the list-iterator
(by a call to next).
public ITemplateList subList(int index1,
int index2)
index1 - TBD: Description of the incoming method parameterindex2 - TBD: Description of the incoming method parameter
AbstractList.subList(int, int)public void sort(Comparator comp)
comp - The comparator used for sortingComparatorpublic ITemplateList union(ITemplateList list)
list - the ITemplateList to union with this list.
ITemplateList with the union list.public ITemplateList intersection(ITemplateList list)
list - the ITemplateList to intersect with this list.
ITemplateList with the intersection list.public ITemplateList difference(ITemplateList list)
list - the ITemplateList to subtract from this list.
ITemplateList with the difference list.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||