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