writeNull(); return -1;
writeNull(); return -1;
/** * Writes string without allowing it to be replaced in stream. Used by * ObjectStreamClass to write class descriptor type strings. */ void writeTypeString(String str) throws IOException { int handle; if (str == null) { writeNull(); } else if ((handle = handles.lookup(str)) != -1) { writeHandle(handle); } else { writeString(str, false); } }
/** * Writes string without allowing it to be replaced in stream. Used by * ObjectStreamClass to write class descriptor type strings. */ void writeTypeString(String str) throws IOException { int handle; if (str == null) { writeNull(); } else if ((handle = handles.lookup(str)) != -1) { writeHandle(handle); } else { writeString(str, false); } }
/** * Writes representation of given class descriptor to stream. */ private void writeClassDesc(ObjectStreamClass desc, boolean unshared) throws IOException { int handle; if (desc == null) { writeNull(); } else if (!unshared && (handle = handles.lookup(desc)) != -1) { writeHandle(handle); } else if (desc.isProxy()) { writeProxyDesc(desc, unshared); } else { writeNonProxyDesc(desc, unshared); } }
/** * Writes representation of given class descriptor to stream. */ private void writeClassDesc(ObjectStreamClass desc, boolean unshared) throws IOException { int handle; if (desc == null) { writeNull(); } else if (!unshared && (handle = handles.lookup(desc)) != -1) { writeHandle(handle); } else if (desc.isProxy()) { writeProxyDesc(desc, unshared); } else { writeNonProxyDesc(desc, unshared); } }
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;
writeNull(); return -1;