public static void registerSerializers(final Kryo kryo) {

        // ImmutableList is used by ArrayTable. However,
        // we already have a separate serializer class for ImmutableList,
        // ImmutableListSerializer. If it is not already being used, register it.
        Serializer immutableListSerializer = getSerializer(kryo, ImmutableList.class);
        if (!(immutableListSerializer instanceof ImmutableListSerializer)) {
            ImmutableListSerializer.registerSerializers(kryo);
        }

        final ArrayTableSerializer serializer = new ArrayTableSerializer();
        kryo.register(ArrayTable.class, serializer);
    }
public static void registerSerializers(final Kryo kryo) {

        
        
        
        Serializer immutableListSerializer = getSerializer(kryo, ImmutableList.class);
        if (!(immutableListSerializer instanceof ImmutableListSerializer)) {
            ImmutableListSerializer.registerSerializers(kryo);
        }

        final ArrayTableSerializer serializer = new ArrayTableSerializer();
        kryo.register(ArrayTable.class, serializer);
    }
public static void registerSerializers ( final Kryo kryo ) { // ImmutableList is used by ArrayTable. However, // we already have a separate serializer class for ImmutableList, // ImmutableListSerializer. If it is not already being used, register it. Serializer immutableListSerializer = getSerializer ( kryo , ImmutableList . class ) ; if ( ! ( immutableListSerializer instanceof ImmutableListSerializer ) ) { ImmutableListSerializer . registerSerializers ( kryo ) ; } final ArrayTableSerializer serializer = new ArrayTableSerializer ( ) ; kryo . register ( ArrayTable . class , serializer ) ; }
Creates a new {@link ArrayTableSerializer} and registers its serializer.

@param kryo the {@link Kryo} instance to set the serializer on
Creates a new { @link ArrayTableSerializer } and registers its serializer .