public static final class IntStreams.J8Builder
extends java.lang.Object
IntStream.Builder
interface.Modifier and Type | Method and Description |
---|---|
static IntStream.Builder |
add(IntStream.Builder this_,
int t)
Adds an element to the stream being built.
|
public static IntStream.Builder add(IntStream.Builder this_, int t)
Implementation Requirements:
The default implementation behaves as if:
accept(t)
return this;
this_
- the Builder used to build the streamt
- the element to addthis
builderjava.lang.IllegalStateException
- if the builder has already transitioned
to the built state