|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An iterator for an ISubscriptionList.
(for a detailed description, see java.util.ListIterator).
Used for easy access to subscriptions that are stored in an
ISubscriptionList.
Typed version of a java.util.LinkedList.
Copyright (c) SAP AG
ISubscription,
ISubscriptionList| Method Summary | |
void |
add(ISubscription subscription)
Adds a specific item to the end of the list. |
boolean |
hasNext()
Checks if the iterator has a subsequent item. |
boolean |
hasPrevious()
Checks whether the iterator has a previous item. |
ISubscription |
next()
Gets the next item of the iterator. |
int |
nextIndex()
Gets the next position number of the iterator. |
ISubscription |
previous()
Gets the previous item of the iterator. |
int |
previousIndex()
Gets the previous position number of the iterator. |
void |
remove()
Removes the last item that was returned by next or previous (optional operation) from the list. |
void |
set(ISubscription subscription)
Replaces the last element returned by next or previous with the given element (optional operation). |
| Method Detail |
public boolean hasNext()
boolean true if the iterator has a subsequent itempublic ISubscription next()
ISubscription of the iteratorpublic boolean hasPrevious()
boolean true if the iterator has a previous itempublic ISubscription previous()
ISubscription of the iteratorpublic int nextIndex()
int with the next position number of the iteratorpublic int previousIndex()
int with the previous position number of the iteratorpublic void remove()
public void set(ISubscription subscription)
subscription - an ISubscription to be set to the listpublic void add(ISubscription subscription)
subscription - an ISubscription to be added to the list
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||