|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A BlockMaker
is used to retrieve a sequence of
blocks of some type. The interface is similar to a that of a
java.util.Iterator
.
Method Summary | |
boolean |
hasNext()
Returns true if this BlockMaker has
more blocks to return, otherwise false |
java.lang.Object |
next()
Returns the next block. |
Method Detail |
public java.lang.Object next() throws BlockMakerException
Object
.
BlockMakerException
- if a problem occurs when accessing the block.public boolean hasNext() throws BlockMakerException
true
if this BlockMaker
has
more blocks to return, otherwise false.
- Returns:
true
or false
.
- Throws:
BlockMakerException
- if a problem occurs when accessing the blocks.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |