public class CollectionsSingletonListSerializer extends com.esotericsoftware.kryo.Serializer<List<?>>
Serializer
for List
s 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 |
---|
CollectionsSingletonListSerializer() |
Modifier and Type | Method and Description |
---|---|
List<?> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<List<?>> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
List<?> list) |
Copyright © 2010–2018. All rights reserved.