Uses of Interface
org.apache.commons.geometry.io.core.internal.IOSupplier
Packages that use IOSupplier
Package
Description
This package contains IO utilities intended for internal use only.
-
Uses of IOSupplier in org.apache.commons.geometry.io.core.internal
Methods in org.apache.commons.geometry.io.core.internal with parameters of type IOSupplierModifier 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> TGeometryIOUtils.getUnchecked(IOSupplier<T> supplier) static <T,C extends Closeable>
TGeometryIOUtils.tryApplyCloseable(IOFunction<C, T> function, IOSupplier<? extends C> closeableSupplier) Pass a suppliedCloseableinstance tofunctionand return the result.