public class JavaIterableWrapperSerializer
extends com.esotericsoftware.kryo.Serializer<java.lang.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 |
---|---|
java.lang.Iterable<?> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input in,
java.lang.Class<java.lang.Iterable<?>> clz) |
static java.lang.Object |
wrapperClass() |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output out,
java.lang.Iterable<?> obj) |
public static java.lang.Object wrapperClass()
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output out, java.lang.Iterable<?> obj)
write
in class com.esotericsoftware.kryo.Serializer<java.lang.Iterable<?>>
public java.lang.Iterable<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input in, java.lang.Class<java.lang.Iterable<?>> clz)
read
in class com.esotericsoftware.kryo.Serializer<java.lang.Iterable<?>>