code: public static void registerSerializers(final Kryo kryo) {
          final HashBasedTableSerializer serializer = new HashBasedTableSerializer();
          kryo.register(HashBasedTable.class, serializer);
      }
docs: Creates a new {@link HashBasedTableSerializer} and registers its serializer.
  
  @param kryo the {@link Kryo} instance to set the serializer on