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