阅读背景:

如何使用Java中的Buffered IO从文件中的两个不同位置读取

来源:互联网 

I'm reading numbers from a file in order to perform a merge sort. The merge sort must be performed as an external sort as it is a large list of numbers and there is very little main memory available. I have a working implementation, it uses the BufferedOutputStream to speed up output, and I want to do the same for the input stream. However, the input must be read from two different places to perform the merge.I'm reading numbers from a file in order to per




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: