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

net.jqwik.engine.providers.StreamArbitraryProvider Maven / Gradle / Ivy

There is a newer version: 1.9.1
Show newest version
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