Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public interface Stream.Builder<T>
ExtendsConsumer<T>
java.util.stream.Stream.Builder: collects elements, then answers
them as a stream, once.Methods
public abstract void accept(T t) | Performs this operation on t. |
public default Stream.Builder<T> add(T t) | |
public abstract Stream<T> build() |
Inherited methods
Method details
accept
public abstract void accept(T t)Performs this operation on
t.Parameters
tT- the input
add
public default Stream.Builder<T> add(T t)build
public abstract Stream<T> build()