public static interface EasyStream.Builder<T> extends Consumer<T>, Builder<EasyStream<T>>
Modifier and Type | Method and Description |
---|---|
default EasyStream.Builder<T> |
add(T t)
Adds an element to the unwrap being built.
|
default EasyStream.Builder<T> add(T t)
accept(t)
return this;
t
- 需要添加的元素this
builderIllegalStateException
- if the builder has already transitioned to
the built stateCopyright © 2025. All rights reserved.