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

net.jqwik.vavr.arbitraries.collection.VavrTreeArbitrary Maven / Gradle / Ivy

package net.jqwik.vavr.arbitraries.collection;

import net.jqwik.vavr.arbitraries.base.ListBasedArbitrary;
import io.vavr.collection.Tree;
import net.jqwik.api.Arbitrary;

import java.util.List;

public class VavrTreeArbitrary extends ListBasedArbitrary> {

    public VavrTreeArbitrary(final Arbitrary elementArbitrary) {
        super(elementArbitrary);
    }

    @Override
    protected Tree convertJavaListToVavrCollection(final List javaList) {
        return Tree.ofAll(javaList);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy