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

net.jqwik.vavr.providers.collection.VavrTreeArbitraryProvider Maven / Gradle / Ivy

package net.jqwik.vavr.providers.collection;

import io.vavr.collection.Tree;
import net.jqwik.api.Arbitrary;
import net.jqwik.vavr.arbitraries.collection.VavrTreeArbitrary;
import net.jqwik.vavr.providers.base.AbstractSingleTypeArbitraryProvider;

public class VavrTreeArbitraryProvider extends AbstractSingleTypeArbitraryProvider {

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy