Click or drag to resize

JVMBridgeBaseTClassSExecuteStreamTArrayType(IJavaType, String, Object) Method

Invokes static method methodName on clazz with 1 argument and returns a zero-copy stream over the JVM primitive array result.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(
	IJavaType clazz,
	string methodName,
	Object arg0
)
where TArrayType : struct, new()

Parameters

clazz  IJavaType
The IJavaType that owns the static method.
methodName  String
The name of the static method to invoke.
arg0  Object
Argument 0.

Type Parameters

TArrayType
The .NET primitive type matching the JVM array element type.

Return Value

JCOBridgeStreamTArrayType
A JCOBridgeStreamT backed by native JVM memory, or . Dispose as soon as no longer needed.
See Also