toArray$2<$T extends JObject?> method

JArray<$T?>? toArray$2<$T extends JObject?>(
  1. JObject? intFunction
)

from: public T[] toArray(java.util.function.IntFunction<T[]> intFunction) The returned object must be released after use, by calling the release method.

Implementation

jni$_.JArray<$T?>? toArray$2<$T extends jni$_.JObject?>(
  jni$_.JObject? intFunction,
) {
  final _$$selfRef = reference;
  final _$intFunction = intFunction?.reference ?? jni$_.jNullReference;
  return _toArray$2(
          _$$selfRef.pointer, _id_toArray$2.pointer, _$intFunction.pointer)
      .object<jni$_.JArray<$T?>?>();
}