如何弹出java流中的第一个元素?

Per*_*rry 5 java java-8 java-stream

我只想获得java流的第一个元素,删除它并继续我的生活.我怎么能这样做而不会让它过于复杂(比如forEach,castingfilter)?