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

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

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

ObjectOutputStream.writeNewObject介绍

[英]Write object object of class theClass into the receiver. It is assumed the object has not been dumped yet. Return the handle for this object which is dumped here. If the object implements Externalizable its writeExternal is called. Otherwise, all fields described by the class hierarchy is dumped. Each class can define how its declared instance fields are dumped by defining a private method writeObject
[中]

代码示例

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

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

return writeNewObject(object, objClass, clDesc, unshared);
} finally {
  nestedLevels--;

相关文章

ObjectOutputStream类方法