public interface ISubscriptionList
ISubscription
s.
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
Modifier and Type | Method and Description |
---|---|
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 |
addAll(ISubscriptionList subscriptionList)
Adding a list with Subscriptions to the current Subscription 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(Comparator comparator)
Sorts the list with the given comparator.
|
ISubscriptionList |
subList(int startIndex,
int stopIndex)
Gets the a subList of the list.
|
boolean isEmpty()
boolean
true
if the list is emptyint size()
int
with the size of the listboolean 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 listboolean add(ISubscription subscription)
ISubscription
to the list. subscription
- an ISubscription
to be added to the listboolean
false
if the operation failsboolean remove(ISubscription subscription)
ISubscription
from the list. subscription
- an ISubscription
to be removed from the listboolean
false
if the operation failsISubscription get(int index)
index
- an int
with the position number of the required ISubscription
ISubscription
from the listISubscription 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 listvoid 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 listISubscription remove(int index)
index
- an int
with the items positionISubscription
to be removed from the listint indexOf(ISubscription subscription)
subscription
- an ISubscription
that can be found in the listint
with the list's position number of the given ISubscription
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 ISubscription
ISubscriptionListIterator listIterator()
ISubscriptionListIterator
for the list. ISubscriptionListIterator
ISubscriptionListIterator listIterator(int index)
ISubscriptionListIterator
for the list beginning at a specific position. index
- an int
with the start position of this listISubscriptionListIterator
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 listvoid sort(Comparator comparator)
comparator
- a Comparator
for how to sort this listboolean addAll(ISubscriptionList subscriptionList)
subscriptionList
- a List
with Subscriptionsboolean
true if the operation is successfulAccess 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