static IntPtr n_Submit_Ljava_util_concurrent_Callable_(IntPtr jnienv, IntPtr native__this, IntPtr native_task)
        {
            global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Util.Concurrent.ICallable task = (global::Java.Util.Concurrent.ICallable)global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.ICallable>(native_task, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Submit(task));

            return(__ret);
        }
        static IntPtr n_Submit_Ljava_lang_Runnable_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_task, IntPtr native_result)
        {
            global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.IRunnable task   = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable>(native_task, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object    result = global::Java.Lang.Object.GetObject <global::Java.Lang.Object>(native_result, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Submit(task, result));

            return(__ret);
        }