Class ImmutableBiMapSerializer


  • public class ImmutableBiMapSerializer
    extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableBiMap<Object,​?>>
    • Constructor Detail

      • ImmutableBiMapSerializer

        public ImmutableBiMapSerializer()
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          com.google.common.collect.ImmutableBiMap<Object,​?> immutableBiMap)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableBiMap<Object,​?>>
      • read

        public com.google.common.collect.ImmutableBiMap<Object,​Object> read​(com.esotericsoftware.kryo.Kryo kryo,
                                                                                  com.esotericsoftware.kryo.io.Input input,
                                                                                  Class<? extends com.google.common.collect.ImmutableBiMap<Object,​?>> clazz)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableBiMap<Object,​?>>
      • registerSerializers

        public static void registerSerializers​(com.esotericsoftware.kryo.Kryo kryo)