public interface BrokerProcessorEnablerList extends OsidList
Like all OsidLists,
BrokerProcessorEnablerList
provides a means for accessing BrokerProcessorEnabler
elements sequentially either one at a time or many at a time.
Examples:
while (bpel.hasNext()) { BrokerProcessorEnabler enabler = bapel.getNextBrokerProcessorEnabler(); }or
while (bpel.hasNext()) { BrokerProcessorEnabler[] enablers = bpel.getNextBrokerProcessorEnablers(bpel.available()); }
Modifier and Type | Method and Description |
---|---|
BrokerProcessorEnabler |
getNextBrokerProcessorEnabler()
Gets the next
BrokerProcessorEnabler in this list. |
BrokerProcessorEnabler[] |
getNextBrokerProcessorEnablers(long n)
Gets the next set of
BrokerProcessorEnabler elements in
this list. |
BrokerProcessorEnabler getNextBrokerProcessorEnabler() throws OperationFailedException
BrokerProcessorEnabler
in this list. BrokerProcessorEnabler
in this list.
The hasNext()
method should be used to test
that a next BrokerProcessorEnabler
is available
before calling this method.IllegalStateException
- no more elements available in
this listOperationFailedException
- unable to complete requestmandatory
- This method must be implemented. BrokerProcessorEnabler[] getNextBrokerProcessorEnablers(long n) throws OperationFailedException
BrokerProcessorEnabler
elements in
this list. The specified amount must be less than or equal to the
return from available().
n
- the number of BrokerProcessorEnabler
elements
requested which must be less than or equal to
available()
BrokerProcessorEnabler
elements.
The length of the array is less than or equal
to the number specified.IllegalStateException
- no more elements available in
this listOperationFailedException
- unable to complete requestmandatory
- This method must be implemented.