|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A special list containing only ResourceTransition instances.
All methods of the java.util.List are provided.
| Method Summary | |
void |
add(int index,
IResourceTransition element)
Inserts the specified element at the specified position in this list (optional operation). |
boolean |
add(IResourceTransition o)
Appends the specified element to the end of this list (optional operation) Depending on the runtime type of the contained list, this operation may place limitations on what elements can be added to this list. |
boolean |
addAll(IResourceTransitionList c)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). |
IResourceTransition |
get(int index)
Returns the element at the specified position in this list |
IResourceTransitionIterator |
iterator()
Returns an iterator over the elements in this list in proper sequence |
IResourceTransitionIterator |
listIterator()
Returns a list iterator of the elements in this list (in proper sequence) |
IResourceTransitionIterator |
listIterator(int index)
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list. |
IResourceTransition |
remove(int index)
Inserts the specified element at the specified position in this list (optional operation). |
IResourceTransition |
set(int index,
IResourceTransition element)
Replaces the element at the specified position in this list with the specified element (optional operation) |
IResourceTransitionList |
subList(int fromIndex,
int toIndex)
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list. |
IResourceTransition[] |
toArray()
Returns an array containing all of the elements in this list in proper sequence. |
IResourceTransition[] |
toArray(IResourceTransition[] a)
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array. |
| Methods inherited from interface com.sapportals.wcm.repository.service.statemanagement.IList |
clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, remove, removeAll, retainAll, size |
| Method Detail |
public IResourceTransitionIterator iterator()
throws WcmException
public IResourceTransition[] toArray()
public IResourceTransition[] toArray(IResourceTransition[] a)
a - the array into which the elements of this list are to
be stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose.ArrayStoreException - if the runtime type of the specified array
is not a super type of the runtime type of every element in
this listpublic boolean add(IResourceTransition o)
Depending on the runtime type of the contained list, this operation may place limitations on what elements can be added to this list. In particular, some lists refuse to add null elements, and others will impose restrictions on the type of elements that can be added. List classes should clearly specify in their documentation any restrictions on what elements can be added.
o - element to be appended to this listjava.lang.UnsupportedOperationException - if the add method is not
supported by this listClassCastException - if the class of the specified element
prevents it from being added to this listjava.lang.IllegalArgumentException - if some aspect of this element
prevents it from being added to this collection
public boolean addAll(IResourceTransitionList c)
throws WcmException
c - collection whose elements are to be added to this listjava.lang.UnsupportedOperationException - if the addAll method is
not supported by this listClassCastException - if the class of an element in the specified
collection prevents it from being added to this listjava.lang.IllegalArgumentException - if some aspect of an element in the
specified collection prevents it from being added to this
listpublic IResourceTransition get(int index)
index - index of element to returnjava.lang.IndexOutOfBoundsException - if the index is out of range (index
< 0 || index >= size())
public IResourceTransition set(int index,
IResourceTransition element)
index - index of element to replaceelement - element to be stored at the specified positionjava.lang.UnsupportedOperationException - if the set method is not
supported by this listClassCastException - if the class of the specified element
prevents it from being added to this listjava.lang.IllegalArgumentException - if some aspect of the specified
element prevents it from being added to this listjava.lang.IndexOutOfBoundsException - if the index is out of range
(index < 0 || index >= size()).
public void add(int index,
IResourceTransition element)
index - index at which the specified element is to be insertedelement - element to be insertedjava.lang.UnsupportedOperationException - if the add method is not
supported by this listClassCastException - if the class of the specified element
prevents it from being added to this listjava.lang.IllegalArgumentException - if some aspect of the specified
element prevents it from being added to this listjava.lang.IndexOutOfBoundsException - if the index is out of range
(index < 0 || index > size())public IResourceTransition remove(int index)
index - index at which the specified element is to be insertedelement - element to be insertedjava.lang.UnsupportedOperationException - if the add method is not
supported by this listClassCastException - if the class of the specified element
prevents it from being added to this listjava.lang.IllegalArgumentException - if some aspect of the specified
element prevents it from being added to this listjava.lang.IndexOutOfBoundsException - if the index is out of range
(index < 0 || index > size())
public IResourceTransitionIterator listIterator()
throws WcmException
public IResourceTransitionIterator listIterator(int index)
throws WcmException
index - index of first element to be returned from the
list iterator (by a call to the next method)java.lang.IndexOutOfBoundsException - if the index is out of range (index
< 0 || index > size())
public IResourceTransitionList subList(int fromIndex,
int toIndex)
throws WcmException
index - index of first element to be returned from the
list iterator (by a call to the next method)java.lang.IndexOutOfBoundsException - if the index is out of range (index
< 0 || index > size())
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||