All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jqwik.vavr.providers.collection.seq.VavrVectorArbitraryProvider Maven / Gradle / Ivy

package net.jqwik.vavr.providers.collection.seq;

import io.vavr.collection.Vector;
import net.jqwik.api.Arbitrary;
import net.jqwik.vavr.arbitraries.collection.seq.VavrVectorArbitrary;
import net.jqwik.vavr.providers.base.AbstractSingleTypeArbitraryProvider;

public class VavrVectorArbitraryProvider extends AbstractSingleTypeArbitraryProvider {

    @Override
    protected Class getProvidedType() {
        return Vector.class;
    }

    @Override
    protected VavrVectorArbitrary create(final Arbitrary innerArbitrary) {
        return new VavrVectorArbitrary<>(innerArbitrary);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy