java.io.ObjectInputStream.readHierarchy()方法的使用及代码示例

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

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

ObjectInputStream.readHierarchy介绍

[英]Walks the hierarchy of classes described by class descriptor classDesc and reads the field values corresponding to fields declared by the corresponding class descriptor. The instance to store field values into is object. If the class (corresponding to class descriptor classDesc) defines private instance method readObject it will be used to load field values.
[中]遍历由类描述符classDesc描述的类的层次结构,并读取与相应类描述符声明的字段相对应的字段值。要将字段值存储到的实例是对象。如果类(对应于类描述符classDesc)定义了私有实例方法readObject,它将用于加载字段值。

代码示例

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

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

readHierarchy(result, classDesc);

相关文章

ObjectInputStream类方法