Uses of Interface
de.xima.fc.interfaces.IThrowingFunction
-
Packages that use IThrowingFunction Package Description de.xima.fc.api.cache de.xima.fc.common.data.algebraic de.xima.fc.interfaces de.xima.fc.plugin.models.retval.form de.xima.fc.utils Package für Utilsklassen -
-
Uses of IThrowingFunction in de.xima.fc.api.cache
Methods in de.xima.fc.api.cache with parameters of type IThrowingFunction Modifier and Type Method Description static <FileEntity extends IFileEntity<?,?>,Data>
DataFileCache. getCachedTransformedFileEntityData(UserContext uc, FileEntity fileEntity, String transformId, IThrowingFunction<byte[],Data> transformer)
Gets the data of the given file entity, transformed via the given transformer. -
Uses of IThrowingFunction in de.xima.fc.common.data.algebraic
Methods in de.xima.fc.common.data.algebraic with parameters of type IThrowingFunction Modifier and Type Method Description <R> R
OneOfN.Either. tryMatch(IThrowingFunction<T1,R> left, IThrowingFunction<T2,R> right)
Performs a case match on this sum type by invoking the mapping function for the matching case with the value of this sum type and returning the result.<R> R
OneOfN.Just. tryMatch(IThrowingFunction<T1,R> first)
Performs a case match on this sum type by invoking the mapping function for the matching case with the value of this sum type and returning the result.<R> R
OneOfN.OneOf3. tryMatch(IThrowingFunction<T1,R> left, IThrowingFunction<T2,R> middle, IThrowingFunction<T3,R> right)
Performs a case match on this sum type by invoking the mapping function for the matching case with the value of this sum type and returning the result.<R> R
OneOfN.OneOf4. tryMatch(IThrowingFunction<T1,R> first, IThrowingFunction<T2,R> second, IThrowingFunction<T3,R> third, IThrowingFunction<T4,R> fourth)
Performs a case match on this sum type by invoking the mapping function for the matching case with the value of this sum type and returning the result.<R> R
OneOfN.OneOf5. tryMatch(IThrowingFunction<T1,R> first, IThrowingFunction<T2,R> second, IThrowingFunction<T3,R> third, IThrowingFunction<T4,R> fourth, IThrowingFunction<T5,R> fifth)
Performs a case match on this sum type by invoking the mapping function for the matching case with the value of this sum type and returning the result. -
Uses of IThrowingFunction in de.xima.fc.interfaces
Subinterfaces of IThrowingFunction in de.xima.fc.interfaces Modifier and Type Interface Description interface
ISerializableThrowingFunction<T,R>
ASupplier
that is also serializable and can throw exceptions.interface
IThrowingUnaryOperator<T>
AUnaryOperator
that may throw a checked exception.Methods in de.xima.fc.interfaces that return IThrowingFunction Modifier and Type Method Description static <T,R>
IThrowingFunction<T,R>IThrowingFunction. of(IThrowingFunction<T,R> fn)
Returns the given supplier, for improved variable inference.static <T,R>
IThrowingFunction<T,R>IThrowingFunction. throwingFunction(IThrowingFunction<T,R> fn)
Returns the given function, for improved variable inference.Methods in de.xima.fc.interfaces with parameters of type IThrowingFunction Modifier and Type Method Description static <T,R>
IThrowingFunction<T,R>IThrowingFunction. of(IThrowingFunction<T,R> fn)
Returns the given supplier, for improved variable inference.static <T,R>
IThrowingFunction<T,R>IThrowingFunction. throwingFunction(IThrowingFunction<T,R> fn)
Returns the given function, for improved variable inference. -
Uses of IThrowingFunction in de.xima.fc.plugin.models.retval.form
Methods in de.xima.fc.plugin.models.retval.form with parameters of type IThrowingFunction Modifier and Type Method Description static IPluginFormElementTemplateLoader
DefaultFormElementTemplateLoader. custom(IThrowingFunction<URI,InputStream> persistJsonLoader, IThrowingFunction<URI,InputStream> iconLoader)
Creates a custom loader that uses the given loader functions. -
Uses of IThrowingFunction in de.xima.fc.utils
Methods in de.xima.fc.utils with parameters of type IThrowingFunction Modifier and Type Method Description static <I,O>
Function<I,O>XFunctionalUtils. catchingFunction(IThrowingFunction<I,O> fn)
Wraps a throwing function into a function that catches checked exceptions and rethrows them as runtime exceptions.
-