public class CollectionsSingletonSetSerializer extends com.esotericsoftware.kryo.Serializer<Set<?>>
Serializer for Lists created via Collections.singletonList(Object).
Note: This serializer does not support cyclic references, if a serialized object is part of a cycle this might cause an error during deserialization.
| Constructor and Description |
|---|
CollectionsSingletonSetSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Set<?> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<Set<?>> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Set<?> set) |
Copyright © 2010-2015. All Rights Reserved.