com.jme3.network.serializing.serializers
クラス CollectionSerializer

java.lang.Object
  上位を拡張 com.jme3.network.serializing.Serializer
      上位を拡張 com.jme3.network.serializing.serializers.CollectionSerializer

public class CollectionSerializer
extends Serializer

Serializes collections.


コンストラクタの概要
CollectionSerializer()
           
 
メソッドの概要
<T> T
readObject(java.nio.ByteBuffer data, java.lang.Class<T> c)
          Read an object from the buffer, effectively deserializing it.
 void writeObject(java.nio.ByteBuffer buffer, java.lang.Object object)
          Write an object to the buffer, effectively serializing it.
 
クラス com.jme3.network.serializing.Serializer から継承されたメソッド
getExactSerializer, getExactSerializerRegistration, getSerializer, getSerializer, getSerializerRegistration, getSerializerRegistration, initialize, readClass, readClassAndObject, registerClass, registerClass, registerClass, registerPackage, setStrictRegistration, writeClass, writeClassAndObject
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CollectionSerializer

public CollectionSerializer()
メソッドの詳細

readObject

public <T> T readObject(java.nio.ByteBuffer data,
                        java.lang.Class<T> c)
             throws java.io.IOException
クラス Serializer の記述:
Read an object from the buffer, effectively deserializing it.

定義:
クラス Serializer 内の readObject
パラメータ:
data - The buffer to read from.
c - The class of the object.
戻り値:
The object read.
例外:
java.io.IOException - If deserializing fails.

writeObject

public void writeObject(java.nio.ByteBuffer buffer,
                        java.lang.Object object)
                 throws java.io.IOException
クラス Serializer の記述:
Write an object to the buffer, effectively serializing it.

定義:
クラス Serializer 内の writeObject
パラメータ:
buffer - The buffer to write to.
object - The object to serialize.
例外:
java.io.IOException - If serializing fails.