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