Class CachedStream<T>
java.lang.Object
org.jdrupes.builder.core.CachedStream<T>
- Type Parameters:
T- the generic type
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CachedStream
public CachedStream()Instantiates a new cached stream.
-
-
Method Details
-
add
Use all given streams as sources.- Parameters:
sources- the sources
-
stream
-
of
Create a cached stream from a single source stream.- Type Parameters:
T- the generic type- Parameters:
source- the source- Returns:
- the cached stream
-