net.jqwik.engine.providers.StreamArbitraryProvider Maven / Gradle / Ivy
package net.jqwik.engine.providers;
import java.util.stream.Stream;
import net.jqwik.api.*;
public class StreamArbitraryProvider extends AbstractCollectionArbitraryProvider {
@Override
protected Class> getProvidedType() {
return Stream.class;
}
@Override
protected Arbitrary> create(Arbitrary> innerArbitrary) {
return innerArbitrary.stream();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy