⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serialization.html

📁 文件来自swarm.org
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:21 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  Serialization</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../swarm/defobj/LispArchiverS.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/defobj/SerializationC.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Serialization.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.defobj</FONT><BR>Interface  Serialization</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../swarm/collections/Array.html">Array</A>, <A HREF="../../swarm/activity/ConcurrentSchedule.html">ConcurrentSchedule</A>, <A HREF="../../swarm/collections/List.html">List</A>, <A HREF="../../swarm/collections/Map.html">Map</A>, <A HREF="../../swarm/collections/Permutation.html">Permutation</A>, <A HREF="../../swarm/activity/Schedule.html">Schedule</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/collections/ListImpl.html">ListImpl</A>, <A HREF="../../swarm/collections/MapImpl.html">MapImpl</A>, <A HREF="../../swarm/collections/ArrayImpl.html">ArrayImpl</A></DD></DL><HR><DL><DT>public interface <B>Serialization</B></DL><P><strong> Object serialization protocol.</strong>.Object serialization protocol.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#hdf5OutDeep(swarm.defobj.HDF5)">hdf5OutDeep</A></B>(<A HREF="../../swarm/defobj/HDF5.html">HDF5</A>&nbsp;hdf5obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a deep HDF5 representation of object state to a stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#hdf5OutShallow(swarm.defobj.HDF5)">hdf5OutShallow</A></B>(<A HREF="../../swarm/defobj/HDF5.html">HDF5</A>&nbsp;hdf5obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a shallow HDF5 representation of object state to a stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispOutDeep(java.lang.Object)">lispOutDeep</A></B>(java.lang.Object&nbsp;stream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a deep Lisp representation of object state to a stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispOutShallow(java.lang.Object)">lispOutShallow</A></B>(java.lang.Object&nbsp;stream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a shallow Lisp representation of object state to a stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispOutVars$deep(java.lang.Object, boolean)">lispOutVars$deep</A></B>(java.lang.Object&nbsp;stream,                 boolean&nbsp;deepFlag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output just key/variable pairs, where variables are serialized  deep or shallow per deepFlag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Boolean$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Boolean$Value</A></B>(java.lang.Object&nbsp;stream,                             java.lang.String&nbsp;aName,                             int&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a Boolean variable called "aName"  which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Char$Value(java.lang.Object, java.lang.String, char)">lispSaveStream$Char$Value</A></B>(java.lang.Object&nbsp;stream,                          java.lang.String&nbsp;aName,                          char&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a character variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Double$Value(java.lang.Object, java.lang.String, double)">lispSaveStream$Double$Value</A></B>(java.lang.Object&nbsp;stream,                            java.lang.String&nbsp;aName,                            double&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a double valued variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Float$Value(java.lang.Object, java.lang.String, double)">lispSaveStream$Float$Value</A></B>(java.lang.Object&nbsp;stream,                           java.lang.String&nbsp;aName,                           double&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a float valued variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Integer$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Integer$Value</A></B>(java.lang.Object&nbsp;stream,                             java.lang.String&nbsp;aName,                             int&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save an integer variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Long$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Long$Value</A></B>(java.lang.Object&nbsp;stream,                          java.lang.String&nbsp;aName,                          int&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a long variables called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$LongLong$Value(java.lang.Object, java.lang.String, long)">lispSaveStream$LongLong$Value</A></B>(java.lang.Object&nbsp;stream,                              java.lang.String&nbsp;aName,                              long&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a long long variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Short$Value(java.lang.Object, java.lang.String, short)">lispSaveStream$Short$Value</A></B>(java.lang.Object&nbsp;stream,                           java.lang.String&nbsp;aName,                           short&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save a short integer variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$Unsigned$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$Unsigned$Value</A></B>(java.lang.Object&nbsp;stream,                              java.lang.String&nbsp;aName,                              int&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save an unsigned integer variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedLong$Value(java.lang.Object, java.lang.String, int)">lispSaveStream$UnsignedLong$Value</A></B>(java.lang.Object&nbsp;stream,                                  java.lang.String&nbsp;aName,                                  int&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save an unsigned long variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedLongLong$Value(java.lang.Object, java.lang.String, long)">lispSaveStream$UnsignedLongLong$Value</A></B>(java.lang.Object&nbsp;stream,                                      java.lang.String&nbsp;aName,                                      long&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On the given stream, save an unsigned long long variable called "aName" which has value "val".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/defobj/Serialization.html#lispSaveStream$UnsignedShort$Value(java.lang.Object, java.lang.String, short)">lispSaveStream$UnsignedShort$Value</A></B>(java.lang.Object&nbsp;stream,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -