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