Class HasClosure<T>

java.lang.Object
io.deephaven.plot.util.functions.HasClosure<T>
Direct Known Subclasses:
ClosureBiFunction, ClosureDoubleBinaryOperator, ClosureDoubleUnaryOperator, ClosureFunction

public class HasClosure<T> extends Object
A serializable closure.
  • Constructor Details

    • HasClosure

      public HasClosure(groovy.lang.Closure<T> closure)
      Creates a SerializableClosure instance with the closure.
      Parameters:
      closure - closure
  • Method Details

    • getClosure

      public groovy.lang.Closure<T> getClosure()
      Gets this SerializableClosure's closure.
      Returns:
      this SerializableClosure's closure