| Interface | osid.bidding.BidList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.bidding.BidAuctionHouseSession | ||
osid.bidding.BidLookupSession | |||
osid.bidding.BidQuerySession | |||
osid.bidding.BidSearchResults | |||
osid.bidding.MyAuctionSession | |||
osid.bidding.rules.BidEnablerRuleLookupSession | |||
| Description |
Like all while (bl.hasNext()) {
Bid bid = bl.getNextBid();
}
or
while (bl.hasNext()) {
Bid[] bids = bl.getNextBids(bl.available());
}
| ||
| Method | getNextBid | ||
| Description |
Gets the next | ||
| Return | osid.bidding.Bid | the next Bid in this list. The hasNext() method
should be used to test that a next Bid is available before
calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextBids | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of Bid elements requested which must be less than
or equal to available() |
| Return | osid.bidding.Bid[] | an array of Bid elements. The length of the array is less than
or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |