Class BinaryFileBuffer
java.lang.Object
com.google.code.externalsorting.BinaryFileBuffer
- All Implemented Interfaces:
IOStringStack
This is essentially a thin wrapper on top of a BufferedReader... which keeps
the last line in memory.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fbr
-
cache
-
-
Constructor Details
-
BinaryFileBuffer
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceIOStringStack- Throws:
IOException
-
empty
public boolean empty()- Specified by:
emptyin interfaceIOStringStack
-
peek
- Specified by:
peekin interfaceIOStringStack
-
pop
- Specified by:
popin interfaceIOStringStack- Throws:
IOException
-
reload
- Throws:
IOException
-