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_InvokeAny_LSystem_Collections_ICollection_(IntPtr jnienv, IntPtr native__this, IntPtr native_tasks)
        {
            global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var    tasks = global::Android.Runtime.JavaCollection.FromJniHandle(native_tasks, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeAny(tasks));

            return(__ret);
        }
        static bool n_AwaitTermination_JLjava_util_concurrent_TimeUnit_(IntPtr jnienv, IntPtr native__this, long timeout, IntPtr native_unit)
        {
            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.TimeUnit unit = global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.TimeUnit>(native_unit, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.AwaitTermination(timeout, unit);

            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);
        }
        static IntPtr n_InvokeAny_LSystem_Collections_ICollection_JLjava_util_concurrent_TimeUnit_(IntPtr jnienv, IntPtr native__this, IntPtr native_tasks, long timeout, IntPtr native_unit)
        {
            global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var tasks = global::Android.Runtime.JavaCollection.FromJniHandle(native_tasks, JniHandleOwnership.DoNotTransfer);

            global::Java.Util.Concurrent.TimeUnit unit = global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.TimeUnit>(native_unit, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeAny(tasks, timeout, unit));

            return(__ret);
        }
 static bool n_IsShutdown(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsShutdown);
 }
 static void n_Execute_Ljava_lang_Runnable_(IntPtr jnienv, IntPtr native__this, IntPtr native_command)
 {
     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 command = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable>(native_command, JniHandleOwnership.DoNotTransfer);
     __this.Execute(command);
 }
 static IntPtr n_ShutdownNow(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Common.Executors.ISerialExecutorService __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.ISerialExecutorService>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(global::Android.Runtime.JavaList <global::Java.Lang.IRunnable> .ToLocalJniHandle(__this.ShutdownNow()));
 }