Class LongToIntFunction
Listener for Java LongToIntFunction https://docs.oracle.com/javase/8/docs/api/java/util/function/LongToIntFunction.html. Extends JVMBridgeListener
public class LongToIntFunction : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, ILongToIntFunction, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
LongToIntFunction
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
LongToIntFunction()
Initialize a new instance of LongToIntFunction
public LongToIntFunction()
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
InitHandlers
Enable/disable handlers initialization, default is true
protected virtual bool InitHandlers { get; }
Property Value
OnApplyAsInt
The Func<T, TResult> to be executed
public virtual Func<long, int> OnApplyAsInt { get; set; }
Property Value
Methods
ApplyAsInt(long)
Executes the LongToIntFunction action in the CLR
public virtual int ApplyAsInt(long o)
Parameters
o
longThe input of LongToIntFunction
Returns
- int
The applyAsInt result