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

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

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

ObjectOutputStream.nextHandle介绍

[英]Return the next handle to be used to indicate cyclic references being saved to the stream.
[中]返回下一个句柄,用于指示保存到流中的循环引用。

代码示例

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

writeClassDesc(arrayClDesc, false);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(array, handle);

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

int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

private int registerObjectWritten(Object obj) {
  int handle = nextHandle();
  objectsWritten.put(obj, handle);
  return handle;
}

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

int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

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

output.write(buffer, 0, buffer.length);
int handle = nextHandle();
if (!unshared) {
  objectsWritten.put(object, handle);

相关文章

ObjectOutputStream类方法