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);
}
}