Package org.assertj.core.util
Class Streams
java.lang.Object
org.assertj.core.util.Streams
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Streams
public Streams()
-
-
Method Details
-
stream
Returns a sequentialStream
of the contents ofiterable
, delegating toCollection.stream()
if possible.- Type Parameters:
T
- the stream type- Parameters:
iterable
- the iterable to built the stream from- Returns:
- the stream built from the given
Iterable
-
stream
-