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