Interface AuctionConstrainerList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , AuctionConstrainerList provides a
means for accessing AuctionConstrainer elements sequentially
either one at a time or many at a time. Examples:
while (acl.hasNext()) {
AuctionConstrainer = acl.getNextAuctionConstrainer();
}
or
while (acl.hasNext()) {
AuctionConstrainer[] = acel.getNextAuctionConstrainers(acl.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextAuctionConstrainerin this list.getNextAuctionConstrainers(long n) Gets the next set ofAuctionConstrainerelements in this list.
-
Method Details
-
getNextAuctionConstrainer
Gets the nextAuctionConstrainerin this list.- Returns:
- the next
AuctionConstrainerin this list. ThehasNext()method should be used to test that a nextAuctionConstraineris available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextAuctionConstrainers
Gets the next set ofAuctionConstrainerelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofAuctionConstrainerelements requested which must be less than or equal toavailable()- Returns:
- an array of
AuctionConstrainerelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-