Table of Contents

Class FunctionDirect<T, R>

Namespace
Java.Util.Function
Assembly
MASES.JNet.dll

Direct override of Function<TObject, TReturn>

public class FunctionDirect<T, R> : Function<T, R>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IFunction<T, R>, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

T
R
Inheritance
Function<T, R>
FunctionDirect<T, R>
Implements
IFunction<T, R>
Inherited Members
Extension Methods

Properties

AutoInit

Set to false to externally initialize this JVMBridgeListener instance using InitializeListener(IJVMBridgeBase)

public override bool AutoInit { get; }

Property Value

bool

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

InitHandlers

Enable/disable handlers initialization, default is true

protected override bool InitHandlers { get; }

Property Value

bool

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AndThen<V, Arg0objectSuperR, Arg0ExtendsV>(Function<Arg0objectSuperR, Arg0ExtendsV>)

public Function<T, V> AndThen<V, Arg0objectSuperR, Arg0ExtendsV>(Function<Arg0objectSuperR, Arg0ExtendsV> arg0) where Arg0objectSuperR : R where Arg0ExtendsV : V

Parameters

arg0 Function<Arg0objectSuperR, Arg0ExtendsV>

Function

Returns

Function<T, V>

Function

Type Parameters

V
Arg0objectSuperR

R

Arg0ExtendsV

V

Apply(T)

public override R Apply(T arg0)

Parameters

arg0 T

T

Returns

R

R

Compose<V, Arg0objectSuperV, Arg0ExtendsT>(Function<Arg0objectSuperV, Arg0ExtendsT>)

public Function<V, R> Compose<V, Arg0objectSuperV, Arg0ExtendsT>(Function<Arg0objectSuperV, Arg0ExtendsT> arg0) where Arg0objectSuperV : V where Arg0ExtendsT : T

Parameters

arg0 Function<Arg0objectSuperV, Arg0ExtendsT>

Function

Returns

Function<V, R>

Function

Type Parameters

V
Arg0objectSuperV

V

Arg0ExtendsT

T