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