Package org.assertj.core.util
Class Streams
java.lang.Object
org.assertj.core.util.Streams
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Streams
public Streams()
-
-
Method Details
-
stream
Returns a sequentialStreamof 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
-