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

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

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

ObjectOutputStream.writeNewClass介绍

[英]Write class object into the receiver. It is assumed the class has not been dumped yet. Classes are not really dumped, but a class descriptor ( ObjectStreamClass) that corresponds to them. Returns the handle for this object (class) which is dumped here.
[中]将类对象写入接收器。假定该类尚未被转储。类不是真正转储的,而是与它们对应的类描述符(ObjectStreamClass)。返回在此转储的对象(类)的句柄。

代码示例

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

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

return writeNewClass((Class<?>) object, unshared);
return writeNewClass((Class<?>) object, unshared);

相关文章

ObjectOutputStream类方法