Uses of Interface
org.apache.commons.geometry.io.core.internal.IOFunction
Packages that use IOFunction
Package
Description
This package contains IO utilities intended for internal use only.
-
Uses of IOFunction in org.apache.commons.geometry.io.core.internal
Methods in org.apache.commons.geometry.io.core.internal with parameters of type IOFunctionModifier and TypeMethodDescriptionstatic <T,
I extends InputStream>
Stream<T> GeometryIOUtils.createCloseableStream
(IOFunction<I, Stream<T>> streamFunction, IOSupplier<? extends I> inputStreamSupplier) Create a stream associated with an input stream.static <T,
C extends Closeable>
TGeometryIOUtils.tryApplyCloseable
(IOFunction<C, T> function, IOSupplier<? extends C> closeableSupplier) Pass a suppliedCloseable
instance tofunction
and return the result.