Package pl.morgwai.base.guice.scopes
Class ContextBoundBiFunction<T,U,R>
- java.lang.Object
-
- pl.morgwai.base.guice.scopes.ContextBoundClosure<BiFunction<T,U,R>>
-
- pl.morgwai.base.guice.scopes.ContextBoundBiFunction<T,U,R>
-
- All Implemented Interfaces:
BiFunction<T,U,R>
public class ContextBoundBiFunction<T,U,R> extends ContextBoundClosure<BiFunction<T,U,R>> implements BiFunction<T,U,R>
A decorator that executes its wrappedBiFunction
within suppliedContexts
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class pl.morgwai.base.guice.scopes.ContextBoundClosure
ContextBoundClosure.CallableWrapper<T>, ContextBoundClosure.RunnableWrapper
-
-
Field Summary
-
Fields inherited from class pl.morgwai.base.guice.scopes.ContextBoundClosure
boundClosure, contexts
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContextBoundBiFunction(List<TrackableContext<?>> contexts, BiFunction<T,U,R> biFunctionToBind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description R
apply(T param1, U param2)
-
Methods inherited from class pl.morgwai.base.guice.scopes.ContextBoundClosure
getBoundClosure, getContexts, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
ContextBoundBiFunction
protected ContextBoundBiFunction(List<TrackableContext<?>> contexts, BiFunction<T,U,R> biFunctionToBind)
-
-