public class JavaIterableWrapperSerializer
extends com.esotericsoftware.kryo.Serializer<Iterable<?>>
The underlying object is scala.collection.convert.Wrappers$IterableWrapper. Kryo deserializes this into an AbstractCollection, which unfortunately doesn't work.
Constructor and Description |
---|
JavaIterableWrapperSerializer() |
Modifier and Type | Method and Description |
---|---|
Iterable<?> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input in,
Class<Iterable<?>> clz) |
static Object |
wrapperClass() |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output out,
Iterable<?> obj) |
public static Object wrapperClass()
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output out, Iterable<?> obj)
write
in class com.esotericsoftware.kryo.Serializer<Iterable<?>>
public Iterable<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input in, Class<Iterable<?>> clz)
read
in class com.esotericsoftware.kryo.Serializer<Iterable<?>>