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