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

smallcheck.generators.SeriesGen Maven / Gradle / Ivy

The newest version!
package smallcheck.generators;

import java.util.stream.Stream;

/*
 * Generates a series of small values up to a given depth
 */
public abstract class SeriesGen {

    public abstract Stream generate(int depth);

    /**
     * Copies the object.
     * If the object is immutable, just return the same object.
     */
    public T copy(T obj) {
        return obj;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy