本文整理汇总了C#中biz.ritter.javapi.defaultWriteObject方法的典型用法代码示例。如果您正苦于以下问题:C# biz.ritter.javapi.defaultWriteObject方法的具体用法?C# biz.ritter.javapi.defaultWriteObject怎么用?C# biz.ritter.javapi.defaultWriteObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类biz.ritter.javapi
的用法示例。
在下文中一共展示了biz.ritter.javapi.defaultWriteObject方法的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);
}
示例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());
}
示例3: 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());
}
}
}
示例4: writeObject
/**
* Write AffineTrasform object to the output steam.
* @param stream - the output stream
* @throws IOException - if there are I/O errors while writing to the output strem
*/
private void writeObject(java.io.ObjectOutputStream stream)
{
// throws IOException {
stream.defaultWriteObject();
}
示例5: 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);
}