java.io.ObjectOutputStream.writeHierarchy()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中java.io.ObjectOutputStream.writeHierarchy()方法的一些代码示例,展示了ObjectOutputStream.writeHierarchy()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ObjectOutputStream.writeHierarchy()方法的具体详情如下:
包路径:java.io.ObjectOutputStream
类名称:ObjectOutputStream
方法名:writeHierarchy

ObjectOutputStream.writeHierarchy介绍

[英]Walks the hierarchy of classes described by class descriptor classDesc and writes the field values corresponding to fields declared by the corresponding class descriptor. The instance to fetch field values from is object. If the class (corresponding to class descriptor classDesc) defines private instance method writeObject it will be used to dump field values.
[中]遍历由类描述符classDesc描述的类的层次结构,并写入与相应类描述符声明的字段相对应的字段值。要从中获取字段值的实例是object。如果类(对应于类描述符classDesc)定义了私有实例方法writeObject,它将用于转储字段值。

代码示例

代码示例来源:origin: robovm/robovm

writeHierarchy(object, currentClass);

代码示例来源:origin: ibinti/bugvm

writeHierarchy(object, currentClass);

代码示例来源:origin: com.jtransc/jtransc-rt

writeHierarchy(object, currentClass);

代码示例来源:origin: MobiVM/robovm

writeHierarchy(object, currentClass);

代码示例来源:origin: com.bugvm/bugvm-rt

writeHierarchy(object, currentClass);

代码示例来源:origin: com.gluonhq/robovm-rt

writeHierarchy(object, currentClass);

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

writeHierarchy(object, currentClass);

代码示例来源:origin: FlexoVM/flexovm

writeHierarchy(object, currentClass);

相关文章

ObjectOutputStream类方法