Package io.deephaven.plot.util.functions
Class HasClosure<T>
java.lang.Object
io.deephaven.plot.util.functions.HasClosure<T>
- Direct Known Subclasses:
ClosureBiFunction
,ClosureDoubleBinaryOperator
,ClosureDoubleUnaryOperator
,ClosureFunction
A serializable closure.
-
Constructor Summary
ConstructorDescriptionHasClosure
(groovy.lang.Closure<T> closure) Creates a SerializableClosure instance with theclosure
. -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.Closure<T>
Gets this SerializableClosure's closure.
-
Constructor Details
-
HasClosure
Creates a SerializableClosure instance with theclosure
.- Parameters:
closure
- closure
-
-
Method Details
-
getClosure
Gets this SerializableClosure's closure.- Returns:
- this SerializableClosure's closure
-