Class ImmutableListSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<?>>
-
- org.onosproject.store.serializers.ImmutableListSerializer
-
public class ImmutableListSerializer extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<?>>
CreatesImmutableList
serializer instance.
-
-
Constructor Summary
Constructors Constructor Description ImmutableListSerializer()
CreatesImmutableList
serializer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<?>
read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<com.google.common.collect.ImmutableList<?>> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableList<?> object)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableList<?> object)
- Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<?>>
-
read
public com.google.common.collect.ImmutableList<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<com.google.common.collect.ImmutableList<?>> type)
- Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<?>>
-
-