public class ArraysAsListSerializer extends com.esotericsoftware.kryo.Serializer<List<?>>
Serializer
for lists created via Arrays.asList(Object...)
.
Note: This serializer does not support cyclic references, so if one of the objects gets set the list as attribute this might cause an error during deserialization.
Constructor and Description |
---|
ArraysAsListSerializer() |
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<?> obj) |
Copyright © 2010–2018. All rights reserved.