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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy