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