Package org.bitcoinj.utils
Class BlockFileLoader.BlockFileIterator
java.lang.Object
org.bitcoinj.utils.BlockFileLoader.BlockFileIterator
- All Implemented Interfaces:
Iterator<ByteBuffer>
- Enclosing class:
- BlockFileLoader
Iterates all the blocks in a single block file.
-
Constructor Details
-
BlockFileIterator
- Throws:
FileNotFoundException
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<ByteBuffer>
-
next
- Specified by:
next
in interfaceIterator<ByteBuffer>
- Throws:
NoSuchElementException
-
remove
- Specified by:
remove
in interfaceIterator<ByteBuffer>
- Throws:
UnsupportedOperationException
-