Package one.nio.serial
Class SerializerCollector
- java.lang.Object
-
- one.nio.serial.DataStream
-
- one.nio.serial.SerializerCollector
-
- All Implemented Interfaces:
java.io.DataInput,java.io.DataOutput,java.io.ObjectInput,java.io.ObjectOutput,java.lang.AutoCloseable
public class SerializerCollector extends DataStream
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashSet<Serializer>serializers-
Fields inherited from class one.nio.serial.DataStream
address, array, FIRST_BOOT_UID, limit, offset, REF_EMBEDDED, REF_NULL, REF_RECURSIVE, REF_RECURSIVE2
-
-
Constructor Summary
Constructors Constructor Description SerializerCollector(byte[] array)SerializerCollector(long address, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectreadObject()java.util.Set<Serializer>serializers()voidsetOffset(long offset)long[]uids()-
Methods inherited from class one.nio.serial.DataStream
address, alloc, array, available, byteBuffer, close, count, flush, newScope, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readRef, readShort, readTo, readUnsignedByte, readUnsignedShort, readUTF, register, skip, skipBytes, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeFrom, writeInt, writeLong, writeObject, writeShort, writeUTF
-
-
-
-
Field Detail
-
serializers
private final java.util.HashSet<Serializer> serializers
-
-
Method Detail
-
setOffset
public void setOffset(long offset)
-
serializers
public java.util.Set<Serializer> serializers()
-
uids
public long[] uids()
-
readObject
public java.lang.Object readObject() throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readObjectin interfacejava.io.ObjectInput- Overrides:
readObjectin classDataStream- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-