我正在阅读the official Java article关于序列化并遇到了节点流概念。更准确地说:
The next step is to actually persist the object. That is done with the java.io.ObjectOutputStream class. That class is a filter stream--it is wrapped around a lower-level byte stream (called a node stream) to handle the serialization protocol for us.
我查看了ObjectOutputStream
的源代码,但没有找到任何名为NodeStream
的类或接口(interface)。该类如下所示:
public class ObjectOutputStream
extends OutputStream implements ObjectOutput, ObjectStreamConstants
你不能解释一下吗?
最佳答案
谷歌搜索的第二个条目给了我这个:
节点流{数据接收器流}
过滤流{处理流}
关于java - 节点流是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34042717/