Class ImmutableBiMapSerializer


  • public class ImmutableBiMapSerializer
    extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableBiMap<java.lang.Object,​?>>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableBiMap<java.lang.Object,​java.lang.Object> read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<? extends com.google.common.collect.ImmutableBiMap<java.lang.Object,​?>> clazz)  
      static void registerSerializers​(com.esotericsoftware.kryo.Kryo kryo)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableBiMap<java.lang.Object,​?> immutableBiMap)  
      • Methods inherited from class com.esotericsoftware.kryo.Serializer

        copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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<java.lang.Object,​?> immutableBiMap)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableBiMap<java.lang.Object,​?>>
      • read

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

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