public interface ITemplateList
ITemplate
instances. Copyright 2004 SAP AG
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
ITemplate template)
Inserts the specified template at the specified position in this list.
|
boolean |
add(ITemplate template)
Add the template to the list.
|
boolean |
addAll(ITemplateList list)
Add all templates in the specified list to this list.
|
boolean |
containsTemplate(ITemplate template)
Returns true if the specified template 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 template-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 occurrence of the specified template from the list.
|
ITemplate |
set(int index,
ITemplate template)
Replaces the template at the specified position in this list with the
given 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)
Returns a sub list of templates from a given start index to a given end index
|
ITemplateList |
union(ITemplateList list)
Get the union of this list and the given list.
|
int size()
boolean containsTemplate(ITemplate template)
template
- ITemplate
for which the check should be doneboolean add(ITemplate template)
template
- The template that should be added to the list.boolean addAll(ITemplateList list)
list
- The list whose elements are to be added to this list.boolean remove(ITemplate template)
template
- ITemplate
that should be removedITemplate get(int index)
index
- of the template to return.ITemplate set(int index, ITemplate template)
index
- Index of template to replace.template
- to be stored at the specified position.void add(int index, ITemplate template)
index
- Index at which the specified template should be inserted.template
- Template to add.ITemplate remove(int index)
index
- The index of the template that should be removed.int indexOf(ITemplate template)
template
- Template to search for.int lastIndexOf(ITemplate template)
template
- Template to search for.ITemplateListIterator listIterator()
ITemplateListIterator listIterator(int index)
index
- Index of first element to be returned from the list-iterator
(by a call to next).ITemplateList subList(int index1, int index2)
index1
- start indexindex2
- end indexITemplateList
which contains the single templates from the given start
index to the given end indexvoid sort(Comparator comp)
comp
- The comparator used for sortingComparator
ITemplateList union(ITemplateList list)
list
- the ITemplateList
to union with this list.ITemplateList
with the union list.ITemplateList intersection(ITemplateList list)
list
- the ITemplateList
to intersect with this list.ITemplateList
with the intersection list.ITemplateList difference(ITemplateList list)
list
- the ITemplateList
to subtract from this list.ITemplateList
with the difference list.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice