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

net.jqwik.engine.facades.CombinatorsFacadeImpl Maven / Gradle / Ivy

There is a newer version: 1.9.1
Show newest version
package net.jqwik.engine.facades;

import java.util.*;
import java.util.function.*;

import net.jqwik.api.*;
import net.jqwik.engine.properties.arbitraries.exhaustive.*;
import net.jqwik.engine.properties.shrinking.*;

/**
 * Is loaded through reflection in api module
 */
public class CombinatorsFacadeImpl extends Combinators.CombinatorsFacade {
	@Override
	public  Shrinkable combineShrinkables(
		List> shrinkables, Function, R> combineFunction
	) {
		return new CombinedShrinkable<>(shrinkables, combineFunction);
	}

	@Override
	public  Optional> combineExhaustive(
		List> arbitraries, Function, R> combineFunction
	) {
		return ExhaustiveGenerators.combine(arbitraries, combineFunction);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy