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>
AStreamSupplierwhich uses aFunctionto convert the input objects into output objects.
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-