public class IntStreams
extends java.lang.Object
IntStream.
Only a factory for now but could hold other functionality.
| Constructor and Description |
|---|
IntStreams() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.stream.IntStream |
range(int endExclusive)
Shorthand for
IntStream.range(0, i). |
static java.util.stream.IntStream |
rangeClosed(int endInclusive)
Shorthand for
IntStream.rangeClosed(0, i). |
public static java.util.stream.IntStream range(int endExclusive)
IntStream.range(0, i).endExclusive - the exclusive upper bound.IntStream for the range of int elements.public static java.util.stream.IntStream rangeClosed(int endInclusive)
IntStream.rangeClosed(0, i).endInclusive - the inclusive upper bound.IntStream for the range of int elements.Copyright © 2010 - 2023 Adobe. All Rights Reserved