Class StreamUtil
java.lang.Object
com.apptasticsoftware.rssreader.internal.StreamUtil
Internal utility class for working with streams.
-
Method Summary
-
Method Details
-
asStream
Creates a Stream from an Iterator.- Type Parameters:
T
- The type of the elements in the Stream.- Parameters:
iterator
- The Iterator to create the Stream from.- Returns:
- A Stream created from the Iterator.
-