当前位置: 首页>>代码示例>>C#>>正文


C# biz.ritter.javapi.writeObject方法代码示例

本文整理汇总了C#中biz.ritter.javapi.writeObject方法的典型用法代码示例。如果您正苦于以下问题:C# biz.ritter.javapi.writeObject方法的具体用法?C# biz.ritter.javapi.writeObject怎么用?C# biz.ritter.javapi.writeObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在biz.ritter.javapi的用法示例。


在下文中一共展示了biz.ritter.javapi.writeObject方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: writeObject

 //-----------------------------------------------------------------------
 /**
  * Write the map out using a custom routine.
  *
  * @param out  the output stream
  * @throws IOException
  * @since Commons Collections 3.1
  */
 private void writeObject(java.io.ObjectOutputStream outJ)
 {
     // throws IOException {
     outJ.defaultWriteObject();
     outJ.writeObject(map);
 }
开发者ID:gadfly,项目名称:nofs,代码行数:14,代码来源:org.apache.commons.collections.map.PredicatedMap.cs

示例2: writeObject

 /**
  * Writes the state of this object to the stream passed.
  *
  * @param out
  *            the stream to write the state to.
  * @throws IOException
  *             if the stream throws it during the write.
  * @serialData {@code int} - the length of this object. {@code char[]} - the
  *             buffer from this object, which may be larger than the length
  *             field.
  */
 private void writeObject(java.io.ObjectOutputStream outJ)
 {
     // throws IOException {
     outJ.defaultWriteObject();
     outJ.writeInt(length());
     outJ.writeObject(getValue());
 }
开发者ID:gadfly,项目名称:nofs,代码行数:18,代码来源:java.lang.StringBuilder.cs

示例3: writeObject

 //-----------------------------------------------------------------------
 /**
  * Write the bag out using a custom routine.
  */
 private void writeObject(java.io.ObjectOutputStream outJ)
 {
     //throws IOException {
     outJ.defaultWriteObject();
     outJ.writeObject(comparator());
     base.doWriteObject(outJ);
 }
开发者ID:gadfly,项目名称:nofs,代码行数:11,代码来源:org.apache.commons.collections.bag.TreeBag.cs

示例4: writeObject

 /*
  * Customized serialization.
  */
 private void writeObject(java.io.ObjectOutputStream outJ)
 {
     // throws IOException {
     outJ.defaultWriteObject();
     outJ.writeByte(MAJOR);
     outJ.writeByte(MINOR);
     if (null == parameters) {
     outJ.writeInt(-1);
     } else {
     outJ.writeInt(parameters.Length);
     foreach (Object element in parameters) {
         outJ.writeObject(null == element ? null : element.toString());
     }
     }
 }
开发者ID:sailesh341,项目名称:JavApi,代码行数:18,代码来源:LogRecord.cs

示例5: writeExternal

 public override void writeExternal(java.io.ObjectOutput outJ)
 {
     //throws IOException {
     outJ.writeInt(maximumSize);
     outJ.writeInt(size());
     for (java.util.Iterator<Object> iterator = keySet().iterator(); iterator.hasNext(); )
     {
         Object key = iterator.next();
         outJ.writeObject(key);
         // be sure to call super.get(key), or you're likely to
         // get infinite promotion recursion
         Object value = base.get(key);
         outJ.writeObject(value);
     }
 }
开发者ID:gadfly,项目名称:nofs,代码行数:15,代码来源:org.apache.commons.collections.LRUMap.cs


注:本文中的biz.ritter.javapi.writeObject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。