net.jqwik.vavr.arbitraries.collection.VavrIteratorArbitrary Maven / Gradle / Ivy
package net.jqwik.vavr.arbitraries.collection;
import net.jqwik.vavr.arbitraries.base.ListBasedArbitrary;
import io.vavr.collection.Iterator;
import net.jqwik.api.Arbitrary;
public class VavrIteratorArbitrary extends ListBasedArbitrary> {
public VavrIteratorArbitrary(final Arbitrary elementArbitrary) {
super(elementArbitrary);
}
@Override
protected Iterator convertJavaListToVavrCollection(final java.util.List javaList) {
return Iterator.ofAll(javaList);
}
}