|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A typed list for IRelationType s.
| Method Summary | |
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. Given a , b and c in this list; b , c and d in the given list, the result will contain only a . |
IRelationType |
get(int index)
Return the relation type at the specified position. |
java.util.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(java.util.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. |
| Method Detail |
public java.util.Collection getCollection()
Collection representing this typed list.public int size()
int with the size of the list.public boolean contains(IRelationType relationType)
relationType - TBD: Description of the incoming method parameterboolean true if the specified relation
type is in the list.public 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.public boolean addAll(IRelationTypeList list)
list - the IRelationTypeList whose elements are to be
added to this list.public 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.public IRelationType get(int index)
index - an int with the position of the desired relation
type.IRelationType with the relation type at the
specified position.
public 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.
public 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.public IRelationType remove(int index)
index - an int with the position of the relation type to
remove.IRelationType with the removed element.public 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.public 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.public IRelationTypeListIterator listIterator()
IRelationTypeListIterator for the elements in this
list.public IRelationTypeListIterator listIterator(int index)
index - an int with the index to start the iterator at.IRelationTypeListIterator for the elements in this
list.
public 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.public void sort(java.util.Comparator comparator)
comparator - the Comparator to be used for sorting.public IRelationTypeList union(IRelationTypeList list)
addAll() duplicates
will be removed.list - the IRelationTypeList to union with this list.IRelationTypeList with the union list.public IRelationTypeList intersection(IRelationTypeList list)
list - the IRelationTypeList to intersect with this list.IRelationTypeList with the intersection list.public IRelationTypeList difference(IRelationTypeList list)
list - the IRelationTypeList to subtract from this list.IRelationTypeList with the difference list.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||