rangeClosed


Description:

public static Stream<int> rangeClosed (int start, int end)

Creates a Stream of integers from start (inclusive) to end (inclusive).

Parameters:

start

the start value (inclusive).

end

the end value (inclusive).

Returns:

a Stream of integer range values.