Uses of Interface
com.opengamma.strata.collect.function.CheckedSupplier
-
Packages that use CheckedSupplier Package Description com.opengamma.strata.collect Root package for common data structures used by Strata.com.opengamma.strata.collect.io Provides utilities for the management of input and output. -
-
Uses of CheckedSupplier in com.opengamma.strata.collect
Methods in com.opengamma.strata.collect with parameters of type CheckedSupplier Modifier and Type Method Description static <R> Supplier<R>
Unchecked. supplier(CheckedSupplier<R> supplier)
Converts checked exceptions to unchecked based on theSupplier
interface.static <T> T
Unchecked. wrap(CheckedSupplier<T> block)
Wraps a block of code, converting checked exceptions to unchecked. -
Uses of CheckedSupplier in com.opengamma.strata.collect.io
Methods in com.opengamma.strata.collect.io with parameters of type CheckedSupplier Modifier and Type Method Description static ArrayByteSource
ArrayByteSource. from(CheckedSupplier<? extends InputStream> inputStreamSupplier)
Obtains an instance from an input stream.static StringCharSource
StringCharSource. from(CheckedSupplier<? extends Reader> readerSupplier)
Obtains an instance from aReader
.
-