@@ -0,0 +1,1049 @@
+package com.aol.cyclops2.data.collections.extensions;%0A%0A%0Aimport com.aol.cyclops2.data.collections.extensions.persistent.PMapXImpl;%0Aimport cyclops.collections.immutable.PMapX;%0Aimport cyclops.function.Reducer;%0Aimport cyclops.stream.ReactiveSeq;%0Aimport lombok.NonNull;%0Aimport org.jooq.lambda.tuple.Tuple2;%0Aimport org.pcollections.PMap;%0A%0Aimport java.util.function.Supplier;%0A%0Apublic class ExtensiblePMapX%3CK, V%3E extends PMapXImpl%3CK, V%3E %7B%0A%0A    private final Supplier%3CReducer%3CPMapX%3CK, V%3E%3E%3E reducer;%0A%0A    public ExtensiblePMapX(@NonNull PMap%3CK, V%3E map, @NonNull Supplier%3CReducer%3CPMapX%3CK, V%3E%3E%3E reducer) %7B%0A        super(%0A                map);%0A        this.reducer = reducer;%0A%0A    %7D%0A%0A    public PMapX%3CK, V%3E fromStream(final ReactiveSeq%3CTuple2%3CK, V%3E%3E stream) %7B%0A        return stream.mapReduce(reducer.get());%0A    %7D%0A%0A    /* (non-Javadoc)%0A     * @see com.aol.cyclops.data.collections.extensions.persistent.PMapXImpl#withMap(org.pcollections.PMap)%0A     */%0A    @Override%0A    public PMapXImpl%3CK, V%3E withMap(PMap%3CK, V%3E map) %7B%0A        return super.withMap(map);%0A    %7D%0A%0A%7D

fix for #514