Class ToDoubleFunction<T>
Listener for https://docs.oracle.com/javase/8/docs/api/java/util/function/ToDoubleFunction.html. Extends ToDoubleFunction
public class ToDoubleFunction<T> : ToDoubleFunction, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IToDoubleFunction<T>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
T
The data type associated to the event
- Inheritance
-
ToDoubleFunction<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ToDoubleFunction()
Initialize a new instance of ToDoubleFunction<T>
public ToDoubleFunction()
Properties
OnApplyAsDouble
The Func<T, TResult> to be executed
public virtual Func<T, double> OnApplyAsDouble { get; set; }
Property Value
Methods
ApplyAsDouble(T)
Executes the Function action in the CLR
public virtual double ApplyAsDouble(T o)
Parameters
o
TThe ToDoubleFunction object
Returns
- double
The applyAsDouble result