Uses of Interface
de.xima.fc.interfaces.IThrowingFunction
Packages that use IThrowingFunction
Package
Description
Package für Utilsklassen
-
Uses of IThrowingFunction in de.xima.fc.api.cache
Methods in de.xima.fc.api.cache with parameters of type IThrowingFunctionModifier and TypeMethodDescriptionstatic <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 IThrowingFunctionModifier and TypeMethodDescription<R> ROneOfN.Either.tryMatch(IThrowingFunction<? super T1, ? extends R> left, IThrowingFunction<? super T2, ? extends 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> ROneOfN.Just.tryMatch(IThrowingFunction<? super T1, ? extends 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> ROneOfN.OneOf3.tryMatch(IThrowingFunction<? super T1, ? extends R> left, IThrowingFunction<? super T2, ? extends R> middle, IThrowingFunction<? super T3, ? extends 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> ROneOfN.OneOf4.tryMatch(IThrowingFunction<? super T1, ? extends R> first, IThrowingFunction<? super T2, ? extends R> second, IThrowingFunction<? super T3, ? extends R> third, IThrowingFunction<? super T4, ? extends 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> ROneOfN.OneOf5.tryMatch(IThrowingFunction<? super T1, ? extends R> first, IThrowingFunction<? super T2, ? extends R> second, IThrowingFunction<? super T3, ? extends R> third, IThrowingFunction<? super T4, ? extends R> fourth, IThrowingFunction<? super T5, ? extends 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.interfacesModifier and TypeInterfaceDescriptioninterfaceASupplierthat is also serializable and can throw exceptions.interfaceAUnaryOperatorthat may throw a checked exception.Methods in de.xima.fc.interfaces that return IThrowingFunctionModifier and TypeMethodDescriptionstatic <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 IThrowingFunctionModifier and TypeMethodDescriptionstatic <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 IThrowingFunctionModifier and TypeMethodDescriptionDefaultFormElementTemplateLoader.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 IThrowingFunctionModifier and TypeMethodDescriptionstatic <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.