public class CollectionsEmptySetSerializer extends com.esotericsoftware.kryo.serialize.SimpleSerializer<Set<?>>
Serializer for Maps created via Collections.emptySet()
or that were just assigned the Collections.EMPTY_SET.| Constructor and Description |
|---|
CollectionsEmptySetSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Set<?> |
read(ByteBuffer buffer) |
void |
write(ByteBuffer buffer,
Set<?> emptyList) |
readObjectData, writeObjectDatapublic Set<?> read(ByteBuffer buffer)
read in class com.esotericsoftware.kryo.serialize.SimpleSerializer<Set<?>>public void write(ByteBuffer buffer, Set<?> emptyList)
write in class com.esotericsoftware.kryo.serialize.SimpleSerializer<Set<?>>Copyright © 2010-2012. All Rights Reserved.