|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A list of ISubscriptions.
(for a detailed description, see java.util.LinkedList).
A ISubscriptionList provides a simple way of storing and accessing multiple
subscriptions.
Typed version of a java.util.LinkedList.
Copyright (c) SAP AG
LinkedList,
ISubscription,
ISubscriptionListIterator| Method Summary | |
void |
add(int index,
ISubscription subscription)
Adds an item to a given position number in the list. |
boolean |
add(ISubscription subscription)
Adds an ISubscription to the list. |
boolean |
contains(ISubscription subscription)
Checks whether the given ISubscription is part of this list. |
ISubscription |
get(int index)
Gets a named item from the list. |
int |
indexOf(ISubscription subscription)
Gets the position number of a given subscription in the list. |
boolean |
isEmpty()
Checks whether the list is empty. |
int |
lastIndexOf(ISubscription subscription)
Gets the position number of the last occurrence of a given ISubscription. |
ISubscriptionListIterator |
listIterator()
Gets a ISubscriptionListIterator for the list. |
ISubscriptionListIterator |
listIterator(int index)
Gets a ISubscriptionListIterator for the list beginning at a specific position. |
ISubscription |
remove(int index)
Removes a specific item from the list. |
boolean |
remove(ISubscription subscription)
Removes an ISubscription from the list. |
ISubscription |
set(int index,
ISubscription subscription)
Sets a item to a given position number in the list. |
int |
size()
Gets the size of the list. |
void |
sort(java.util.Comparator comparator)
Sorts the list with the given comparator. |
ISubscriptionList |
subList(int startIndex,
int stopIndex)
Gets the a subList of the list. |
| Method Detail |
public boolean isEmpty()
boolean true if the list is emptypublic int size()
int with the size of the listpublic boolean contains(ISubscription subscription)
ISubscription is part of this list. subscription - an ISubscription to be checked to see whether it is part of the listboolean true if the given ISubscription
is part of the listpublic boolean add(ISubscription subscription)
ISubscription to the list. subscription - an ISubscription to be added to the listboolean false if the operation failspublic boolean remove(ISubscription subscription)
ISubscription from the list. subscription - an ISubscription to be removed from the listboolean false if the operation failspublic ISubscription get(int index)
index - an int with the position number of the required ISubscriptionISubscription from the list
public ISubscription set(int index,
ISubscription subscription)
index - an int with the position number that indicates where the item should be placed in the listsubscription - an ISubscription to be set for the listISubscription to be inserted into the list
public void add(int index,
ISubscription subscription)
index - an int with the position number that indicates where the item should be placed inside the listsubscription - an ISubscription to be added to the listpublic ISubscription remove(int index)
index - an int with the items positionISubscription to be removed from the listpublic int indexOf(ISubscription subscription)
subscription - an ISubscription that can be found in the listint with the list's position number of the given ISubscriptionpublic int lastIndexOf(ISubscription subscription)
ISubscription. subscription - an ISubscription that can be found at least once in the listint with the last list position number of the given ISubscriptionpublic ISubscriptionListIterator listIterator()
ISubscriptionListIterator for the list. ISubscriptionListIteratorpublic ISubscriptionListIterator listIterator(int index)
ISubscriptionListIterator for the list beginning at a specific position. ISubscriptionListIterator
public ISubscriptionList subList(int startIndex,
int stopIndex)
startIndex - an int with the start position of this subliststopIndex - an int with the end position of the sublistISubscriptionList that represents a sublist of this listpublic void sort(java.util.Comparator comparator)
comparator - a Comparator for how to sort this list
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||