In Java 8, is there a bytestream class?

Java 8 provides the specialties of stream < T > double, int and long: doublestream, intstream and longstream However, I can't find the equivalent byte in the document

Java 8 provides a bytestream class?

Solution

No, it doesn't exist In fact, it is not explicitly implemented, so it cannot be used as a ton cluster stream API for each original type

Reference a mail from Brian Goetz in the openjdk mailing list:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>