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