 | JVMBridgeBaseTClassSExecuteWithSignatureStreamTArrayType(IJavaType, String, String, Object) Method |
Statically executes the method identified by
methodName and
signature on
clazz and returns the result
as a
JCOBridgeStreamT backed by the JVM primitive
array returned by the method.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntaxpublic static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(
IJavaType clazz,
string methodName,
string signature,
params Object[] args
)
where TArrayType : struct, new()
Public Shared Function SExecuteWithSignatureStream(Of TArrayType As {Structure, New}) (
clazz As IJavaType,
methodName As String,
signature As String,
ParamArray args As Object()
) As JCOBridgeStream(Of TArrayType)Parameters
- clazz IJavaType
- The IJavaType on which the static method shall be executed.
- methodName String
- The name of the static method to execute.
- signature String
- The JVM method signature used to disambiguate overloads.
- args Object
- The arguments to pass to the method.
Type Parameters
- TArrayType
-
The .NET primitive type corresponding to the JVM array element type.
Supported types are: bool, byte,
short, int, long,
float, double and char.
Must match the actual JVM array element type; a mismatch throws
InvalidOperationException at runtime.
Return Value
JCOBridgeStreamTArrayType
A
JCOBridgeStreamT that provides stream access to
the JVM array data, or
if the method returns
or an empty JVM array reference.
Dispose the returned stream as soon as it is no longer needed.
See Also