Class JNetHelper
Helper class of JNet for some specific operations
public sealed class JNetHelper : JVMBridgeBase<JNetHelper>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JNetHelper>JNetHelper
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<JNetHelper>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<JNetHelper>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<JNetHelper>.IsAssignableFrom(IJavaType)JVMBridgeBase<JNetHelper>.IsAssignableFrom<T>()JVMBridgeBase<JNetHelper>.Execute<T>(params T[])JVMBridgeBase<JNetHelper>.DynBridgeClazzJVMBridgeBase<JNetHelper>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Class<TClass>()
Retrieve the https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_IJVMBridgeDefinition_BridgeClassName.htm of TClass
public static Class<TClass> Class<TClass>() where TClass : IJVMBridgeBase, new()
Returns
- Class<TClass>
Type Parameters
TClass
A type implementing https://www.jcobridge.com/api-clr/html/T_MASES_JCOBridge_C2JBridge_IJVMBridgeBase.htm
ListFrom(ByteBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a ByteBuffer in arg0
public static List ListFrom(ByteBuffer arg0)
Parameters
arg0
ByteBufferByteBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(CharBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a CharBuffer in arg0
public static List ListFrom(CharBuffer arg0)
Parameters
arg0
CharBufferCharBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(DoubleBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a DoubleBuffer in arg0
public static List ListFrom(DoubleBuffer arg0)
Parameters
arg0
DoubleBufferDoubleBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(FloatBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a FloatBuffer in arg0
public static List ListFrom(FloatBuffer arg0)
Parameters
arg0
FloatBufferFloatBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(IntBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a IntBuffer in arg0
public static List ListFrom(IntBuffer arg0)
Parameters
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(LongBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a LongBuffer in arg0
public static List ListFrom(LongBuffer arg0)
Parameters
arg0
LongBufferLongBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom(ShortBuffer)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) using a ShortBuffer in arg0
public static List ListFrom(ShortBuffer arg0)
Parameters
arg0
ShortBufferShortBuffer to be used
Returns
- List
A List can be used as input of ArrayList<E>
ListFrom<T>(T[], bool)
Executes the https://docs.oracle.com/en%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2F%2F/java.base/java/util/Arrays.html#asList(T...) over primitive types
public static List ListFrom<T>(T[] data, bool buffered = false)
Parameters
data
T[]Array of primitive types
buffered
boolSet 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