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

net.jqwik.vavr.arbitraries.collection.queue.VavrQueueArbitrary Maven / Gradle / Ivy

package net.jqwik.vavr.arbitraries.collection.queue;

import net.jqwik.vavr.arbitraries.base.ListBasedArbitrary;
import io.vavr.collection.Queue;
import net.jqwik.api.Arbitrary;

public class VavrQueueArbitrary extends ListBasedArbitrary> {

	public VavrQueueArbitrary(final Arbitrary elementArbitrary) {
		super(elementArbitrary);
	}

	@Override
	protected Queue convertJavaListToVavrCollection(final java.util.List javaList) {
		return Queue.ofAll(javaList);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy