Package com.google.code.externalsorting
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BinaryFileBuffer
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceIOStringStack
- Throws:
IOException
-
empty
public boolean empty()- Specified by:
empty
in interfaceIOStringStack
-
peek
- Specified by:
peek
in interfaceIOStringStack
-
pop
- Specified by:
pop
in interfaceIOStringStack
- Throws:
IOException
-