Table of Contents

Class LongToIntFunction

Namespace
Java.Util.Function
Assembly
MASES.JNet.dll
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

string

InitHandlers

Enable/disable handlers initialization, default is true

protected virtual bool InitHandlers { get; }

Property Value

bool

OnApplyAsInt

The Func<T, TResult> to be executed

public virtual Func<long, int> OnApplyAsInt { get; set; }

Property Value

Func<long, int>

Methods

ApplyAsInt(long)

Executes the LongToIntFunction action in the CLR

public virtual int ApplyAsInt(long o)

Parameters

o long

The input of LongToIntFunction

Returns

int

The applyAsInt result