void accept(T t)
accept 在接口中 Consumer<T>t - the element to addIllegalStateException - if the builder has already transitioned to
the built statedefault Steam.Builder<T> add(T t)
accept(t)
return this;
t - the element to addthis builderIllegalStateException - if the builder has already transitioned to
the built stateSteam<T> build()
IllegalStateException is thrown if there are further attempts
to operate on the builder after it has entered the built state.IllegalStateException - if the builder has already transitioned to
the built stateCopyright © 2023 dromara. All rights reserved.