Package io.deephaven.plot.util.functions
Class ClosureFunction<T,R>
java.lang.Object
io.deephaven.plot.util.functions.HasClosure<R>
io.deephaven.plot.util.functions.ClosureFunction<T,R>
- All Implemented Interfaces:
SerializableFunction<T,
,R> Serializable
,Function<T,
R>
Wraps a
HasClosure
with the API of a function.- See Also:
-
Constructor Summary
ConstructorDescriptionClosureFunction
(groovy.lang.Closure<R> closure) Creates a ClosureFunction instance with theclosure
. -
Method Summary
Methods inherited from class io.deephaven.plot.util.functions.HasClosure
getClosure