Table of Contents

Class JNetHelper

Namespace
MASES.JNet.Specific
Assembly
MASES.JNet.dll

Helper class of JNet for some specific operations

public sealed class JNetHelper : JVMBridgeBase<JNetHelper>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JNetHelper>
JNetHelper
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<JNetHelper>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JNetHelper>.IsAssignableFrom<T>()
JVMBridgeBase<JNetHelper>.Execute<T>(params T[])
JVMBridgeBase<JNetHelper>.DynBridgeClazz
JVMBridgeBase<JNetHelper>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Class<TClass>()

public static Class<TClass> Class<TClass>() where TClass : IJVMBridgeBase, new()

Returns

Class<TClass>

The https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_IJVMBridgeDefinition_BridgeClassName.htm

Type Parameters

TClass

A type implementing https://www.jcobridge.com/api-clr/html/T_MASES_JCOBridge_C2JBridge_IJVMBridgeBase.htm

ListFrom(ByteBuffer)

public static List ListFrom(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(CharBuffer)

public static List ListFrom(CharBuffer arg0)

Parameters

arg0 CharBuffer

CharBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(DoubleBuffer)

public static List ListFrom(DoubleBuffer arg0)

Parameters

arg0 DoubleBuffer

DoubleBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(FloatBuffer)

public static List ListFrom(FloatBuffer arg0)

Parameters

arg0 FloatBuffer

FloatBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(IntBuffer)

public static List ListFrom(IntBuffer arg0)

Parameters

arg0 IntBuffer

IntBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(LongBuffer)

public static List ListFrom(LongBuffer arg0)

Parameters

arg0 LongBuffer

LongBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom(ShortBuffer)

public static List ListFrom(ShortBuffer arg0)

Parameters

arg0 ShortBuffer

ShortBuffer to be used

Returns

List

A List can be used as input of ArrayList<E>

ListFrom<T>(T[], bool)

public static List ListFrom<T>(T[] data, bool buffered = false)

Parameters

data T[]

Array of primitive types

buffered bool

Set to true to use ByteBuffer, IntBuffer, DoubleBuffer and so on to transfer data to JVM

Returns

List

A List can be used as input of ArrayList<E>

Type Parameters

T