How to call both takeWhile and dropWhile on the same Java Stream

后端 未结 0 367
隐瞒了意图╮
隐瞒了意图╮ 2021-01-02 21:47

How do I combine takeWhile and dropWhile on the same Java Stream?

I would like to either use or implement something like Scala\'s span method.

So far, I have t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题