新手求教管道流问题!
初学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;
}
请教此段程序的详细解析,越详细越好!