Class DoubleFunction<TReturn>
Listener for https://docs.oracle.com/javase/8/docs/api/java/util/function/DoubleFunction.html. Extends DoubleFunction
public class DoubleFunction<TReturn> : DoubleFunction, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IDoubleFunction<TReturn>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TReturn
The return data type associated to the event
- Inheritance
-
DoubleFunction<TReturn>
- Implements
-
IDoubleFunction<TReturn>
- Derived
- Inherited Members
Constructors
DoubleFunction(Func<double, TReturn>, bool)
Initialize a new instance of DoubleFunction<TReturn>
public DoubleFunction(Func<double, TReturn> func = null, bool attachEventHandler = true)
Parameters
Properties
OnApply
The Func<T, TResult> to be executed
public virtual Func<double, TReturn> OnApply { get; set; }
Property Value
Methods
Apply(double)
Executes the DoubleFunction action in the CLR
public virtual TReturn Apply(double obj)
Parameters
obj
doubleThe DoubleFunction object
Returns
- TReturn
The apply
TReturn