public interface IRelationTypeList
IRelationType
s. Modifier and Type | Method and Description |
---|---|
void |
add(int index,
IRelationType relationType)
Insert the specified relation type at the specified position in this list.
|
boolean |
add(IRelationType relationType)
Add a relation type to the list.
|
boolean |
addAll(IRelationTypeList list)
Add all the elements in the specified list to this list.
|
boolean |
contains(IRelationType relationType)
Check if the specified relation type is in the list.
|
IRelationTypeList |
difference(IRelationTypeList list)
Get the difference of this list to the given list.
|
IRelationType |
get(int index)
Return the relation type at the specified position.
|
Collection |
getCollection()
Return this typed list as an standard java collection.
|
int |
indexOf(IRelationType relationType)
Return the index of the first occurrence of the specified relation type in
this list, or
-1 if the list does not contain the relation
type. |
IRelationTypeList |
intersection(IRelationTypeList list)
Get the intersection of this list and the given list.
|
int |
lastIndexOf(IRelationType relationType)
Return the index of the last occurrence of the specified relation type in
this list, or
-1 if the list does not contain the relation
type. |
IRelationTypeListIterator |
listIterator()
Return an iterator for the elements in this list.
|
IRelationTypeListIterator |
listIterator(int index)
Return an iterator for the elements in this list which starts at the
specified position in the list.
|
IRelationType |
remove(int index)
Remove the relation type at the specified position in this list.
|
boolean |
remove(IRelationType relationType)
Remove the first occurence of the specified relation type from the list.
|
IRelationType |
set(int index,
IRelationType relationType)
Replace the element at the specified position in this list with the
specified relation type.
|
int |
size()
Return the number of elements in the list.
|
void |
sort(Comparator comparator)
Sort the elements in the list using the specified comparator.
|
IRelationTypeList |
subList(int startIndex,
int stopIndex)
Return a list of elements from this list which starts at the first
specified position in the list and end at the second specified position.
|
IRelationTypeList |
union(IRelationTypeList list)
Get the union of this list and the given list.
|
Collection getCollection()
Collection
representing this typed list.int size()
int
with the size of the list.boolean contains(IRelationType relationType)
relationType
- TBD: Description of the incoming method parameterboolean
true
if the specified relation
type is in the list.boolean add(IRelationType relationType)
relationType
- the IRelationType
to add to the list.boolean
true
if the specified relation
type was added, false
if it already exists.boolean addAll(IRelationTypeList list)
list
- the IRelationTypeList
whose elements are to be
added to this list.boolean remove(IRelationType relationType)
relationType
- TBD: Description of the incoming method parameterboolean
true
if the specified relation
type was contained in the list and removed, false
if not.IRelationType get(int index)
index
- an int
with the position of the desired relation
type.IRelationType
with the relation type at the
specified position.IRelationType set(int index, IRelationType relationType)
index
- an int
with the position of the relation type to
replace.relationType
- the IRelationType
to be stored at the
specified position.IRelationType
with the element previously at the
specified position.void add(int index, IRelationType relationType)
index
- an int
with the position of the relation type to
be inserted.relationType
- the IRelationType
to be inserted at the
specified position.IRelationType remove(int index)
index
- an int
with the position of the relation type to
remove.IRelationType
with the removed element.int indexOf(IRelationType relationType)
-1
if the list does not contain the relation
type.relationType
- the IRelationType
to search for.int
with the index of the first occurrence of the
specified relation type, or -1
if the list does not
contain the given relation type.int lastIndexOf(IRelationType relationType)
-1
if the list does not contain the relation
type.relationType
- the IRelationType
to search for.int
with the index of the last occurrence of the
specified relation type, or -1
if the list does not
contain the given relation type.IRelationTypeListIterator listIterator()
IRelationTypeListIterator
for the elements in this
list.IRelationTypeListIterator listIterator(int index)
index
- an int
with the index to start the iterator at.IRelationTypeListIterator
for the elements in this
list.IRelationTypeList subList(int startIndex, int stopIndex)
startIndex
- an int
with the index to start the sub list
at.stopIndex
- an int
with the index to stop the sub list
at.IRelationTypeList
with the elements of the sub-list.void sort(Comparator comparator)
comparator
- the Comparator
to be used for sorting.IRelationTypeList union(IRelationTypeList list)
addAll()
duplicates
will be removed.list
- the IRelationTypeList
to union with this list.IRelationTypeList
with the union list.IRelationTypeList intersection(IRelationTypeList list)
list
- the IRelationTypeList
to intersect with this list.IRelationTypeList
with the intersection list.IRelationTypeList difference(IRelationTypeList list)
list
- the IRelationTypeList
to subtract from this list.IRelationTypeList
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