Class MapStreamSupplier<T,U>
- java.lang.Object
-
- uk.gov.gchq.gaffer.commonutil.stream.MapStreamSupplier<T,U>
-
- Type Parameters:
T
- the type of input objectsU
- the type of output objects
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Supplier<Stream<U>>
,StreamSupplier<U>
public class MapStreamSupplier<T,U> extends Object implements StreamSupplier<U>
AStreamSupplier
which uses aFunction
to convert the input objects into output objects.
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-