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

net.jqwik.vavr.arbitraries.collection.VavrIteratorArbitrary Maven / Gradle / Ivy

package net.jqwik.vavr.arbitraries.collection;

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

public class VavrIteratorArbitrary extends ListBasedArbitrary> {

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy