Package au.csiro.pathling.utilities
Class Streams
java.lang.Object
au.csiro.pathling.utilities.Streams
Utility class containing some stream helper functions.
- Author:
- John Grimes
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Streams
public Streams()
-
-
Method Details
-
streamOf
Creates a stream from the iterator.- Type Parameters:
T- the type (of elements)- Parameters:
iterator- an iterator- Returns:
- the stream for given iterator
-