Creates a new data set that contains a sequence of numbers. The data set will be created in parallel, so there is no guarantee about the oder of the elements.
@param from The number to start at (inclusive).
@param to The number to stop at (inclusive).
@return A DataSet, containing all number in the {@code [from, to]} interval.
Creates a new data set that contains a sequence of numbers. The data set will be created in parallel, so there is no guarantee about the oder of the elements.
@param from The number to start at (inclusive).
@param to The number to stop at (inclusive).
@return A DataSet, containing all number in the {@code [from, to]} interval.
Creates a new DataStream that contains a sequence of numbers.
@param from The number to start at (inclusive).
@param to The number to stop at (inclusive)
@return A DataStrean, containing all number in the [from, to] interval.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.