src/main/java/de/javakaffee/kryoserializers/SynchronizedCollectionsSerializer.java
public static void registerSerializers( final Kryo kryo ) {
        final SynchronizedCollectionsSerializer serializer = new SynchronizedCollectionsSerializer();
        SynchronizedCollection.values();
        for ( final SynchronizedCollection item : SynchronizedCollection.values() ) {
            kryo.register( item.type, serializer );
        }
    }
public static void registerSerializers( final Kryo kryo ) {
        final SynchronizedCollectionsSerializer serializer = new SynchronizedCollectionsSerializer();
        SynchronizedCollection.values();
        for ( final SynchronizedCollection item : SynchronizedCollection.values() ) {
            kryo.register( item.type, serializer );
        }
    }
Creates a new {@link SynchronizedCollectionsSerializer} and registers its serializer
for the several synchronized Collections that can be created via {@link Collections},
including {@link Map}s.

@param kryo the {@link Kryo} instance to set the serializer on.

@see Collections#synchronizedCollection(Collection)
@see Collections#synchronizedList(List)
@see Collections#synchronizedSet(Set)
@see Collections#synchronizedSortedSet(SortedSet)
@see Collections#synchronizedMap(Map)
@see Collections#synchronizedSortedMap(SortedMap)