![]() |
#2
zhang0022008-11-02 18:47
|
初学JAVA有些问题不明白,求大虾指点:
public static Reader reverse(Reader src) throws IOException {
BufferedReader in = new BufferedReader(source);
PipedWriter pipeOut = new PipedWriter();
PipedReader pipeIn = new PipedReader(pipeOut);
PrintWriter out = new PrintWriter(pipeOut);
new ReverseThread(out, in).start();
return pipeIn;
}
请教此段程序的详细解析,越详细越好!