Interface CodeBlockIterator

All Superinterfaces:
Iterable<CodeBlock>
All Known Implementing Classes:
SimpleBlockIterator, SingleEntSubIterator

public interface CodeBlockIterator extends Iterable<CodeBlock>
An iterator interface over CodeBlocks.

Note: this iterator is also Iterable. The hasNext() and next() methods of this interface throw a CancelledException if the monitor is cancelled. The iterator returned from iterator() does not throw a cancelled exception. If you need to know the cancelled state of this iterator, then you must check the cancelled state of the monitor passed into this iterator via the CodeBlockModel. See TaskMonitor.isCancelled().

See Also: