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

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

package net.jqwik.vavr.arbitraries.collection;

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

import java.util.List;

public class VavrStreamArbitrary extends ListBasedArbitrary> {

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy