阅读背景:

在java 8中是否有一个类实现了一个“以null结尾的”流,而不需要自己滚动?

来源:互联网 

Or is there a better way to do this that I'm missing? I'd like to create a stream based on a Supplier (which are normally infinite), but have the stream terminate when the supplier returns null. I made this myself, but it seems like a fair amount of work to accomplish a pretty simple concept.Or is there a better way to do this that I'm mi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: