jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "java-util-Comparator"))]
__jni_bindgen! {
    /// public interface [Comparator](https://developer.android.com/reference/java/util/Comparator.html)
    ///
    /// Required feature: "java-util-Comparator"
    public interface Comparator ("java/util/Comparator") extends crate::java::lang::Object {

        /// [compare](https://developer.android.com/reference/java/util/Comparator.html#compare(java.lang.Object,%20java.lang.Object))
        ///
        /// Required features: "java-lang-Object"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
        pub fn compare<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | ABSTRACT, .name == "compare", .descriptor == "(Ljava/lang/Object;Ljava/lang/Object;)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "compare\0", "(Ljava/lang/Object;Ljava/lang/Object;)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [equals](https://developer.android.com/reference/java/util/Comparator.html#equals(java.lang.Object))
        ///
        /// Required features: "java-lang-Object"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
        pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | ABSTRACT, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "equals\0", "(Ljava/lang/Object;)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [reversed](https://developer.android.com/reference/java/util/Comparator.html#reversed())
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn reversed<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "reversed", .descriptor == "()Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "reversed\0", "()Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparing](https://developer.android.com/reference/java/util/Comparator.html#thenComparing(java.util.Comparator))
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn thenComparing_Comparator<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Comparator>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparing", .descriptor == "(Ljava/util/Comparator;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparing\0", "(Ljava/util/Comparator;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparing](https://developer.android.com/reference/java/util/Comparator.html#thenComparing(java.util.function.Function,%20java.util.Comparator))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-Function"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-Function")))]
        pub fn thenComparing_Function_Comparator<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Comparator>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparing", .descriptor == "(Ljava/util/function/Function;Ljava/util/Comparator;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparing\0", "(Ljava/util/function/Function;Ljava/util/Comparator;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparing](https://developer.android.com/reference/java/util/Comparator.html#thenComparing(java.util.function.Function))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-Function"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-Function")))]
        pub fn thenComparing_Function<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparing", .descriptor == "(Ljava/util/function/Function;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparing\0", "(Ljava/util/function/Function;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparingInt](https://developer.android.com/reference/java/util/Comparator.html#thenComparingInt(java.util.function.ToIntFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToIntFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToIntFunction")))]
        pub fn thenComparingInt<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparingInt", .descriptor == "(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparingInt\0", "(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparingLong](https://developer.android.com/reference/java/util/Comparator.html#thenComparingLong(java.util.function.ToLongFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToLongFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToLongFunction")))]
        pub fn thenComparingLong<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparingLong", .descriptor == "(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparingLong\0", "(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [thenComparingDouble](https://developer.android.com/reference/java/util/Comparator.html#thenComparingDouble(java.util.function.ToDoubleFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToDoubleFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToDoubleFunction")))]
        pub fn thenComparingDouble<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC, .name == "thenComparingDouble", .descriptor == "(Ljava/util/function/ToDoubleFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/Comparator\0", "thenComparingDouble\0", "(Ljava/util/function/ToDoubleFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [reverseOrder](https://developer.android.com/reference/java/util/Comparator.html#reverseOrder())
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn reverseOrder<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "reverseOrder", .descriptor == "()Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "reverseOrder\0", "()Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [naturalOrder](https://developer.android.com/reference/java/util/Comparator.html#naturalOrder())
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn naturalOrder<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "naturalOrder", .descriptor == "()Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "naturalOrder\0", "()Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [nullsFirst](https://developer.android.com/reference/java/util/Comparator.html#nullsFirst(java.util.Comparator))
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn nullsFirst<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Comparator>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "nullsFirst", .descriptor == "(Ljava/util/Comparator;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "nullsFirst\0", "(Ljava/util/Comparator;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [nullsLast](https://developer.android.com/reference/java/util/Comparator.html#nullsLast(java.util.Comparator))
        ///
        /// Required features: "java-util-Comparator"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
        pub fn nullsLast<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Comparator>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "nullsLast", .descriptor == "(Ljava/util/Comparator;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "nullsLast\0", "(Ljava/util/Comparator;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [comparing](https://developer.android.com/reference/java/util/Comparator.html#comparing(java.util.function.Function,%20java.util.Comparator))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-Function"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-Function")))]
        pub fn comparing_Function_Comparator<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Comparator>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "comparing", .descriptor == "(Ljava/util/function/Function;Ljava/util/Comparator;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "comparing\0", "(Ljava/util/function/Function;Ljava/util/Comparator;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [comparing](https://developer.android.com/reference/java/util/Comparator.html#comparing(java.util.function.Function))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-Function"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-Function")))]
        pub fn comparing_Function<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::Function>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "comparing", .descriptor == "(Ljava/util/function/Function;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "comparing\0", "(Ljava/util/function/Function;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [comparingInt](https://developer.android.com/reference/java/util/Comparator.html#comparingInt(java.util.function.ToIntFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToIntFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToIntFunction")))]
        pub fn comparingInt<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToIntFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "comparingInt", .descriptor == "(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "comparingInt\0", "(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [comparingLong](https://developer.android.com/reference/java/util/Comparator.html#comparingLong(java.util.function.ToLongFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToLongFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToLongFunction")))]
        pub fn comparingLong<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToLongFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "comparingLong", .descriptor == "(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "comparingLong\0", "(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [comparingDouble](https://developer.android.com/reference/java/util/Comparator.html#comparingDouble(java.util.function.ToDoubleFunction))
        ///
        /// Required features: "java-util-Comparator", "java-util-function-ToDoubleFunction"
        #[cfg(any(feature = "all", all(feature = "java-util-Comparator", feature = "java-util-function-ToDoubleFunction")))]
        pub fn comparingDouble<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::function::ToDoubleFunction>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/util/Comparator", java.flags == PUBLIC | STATIC, .name == "comparingDouble", .descriptor == "(Ljava/util/function/ToDoubleFunction;)Ljava/util/Comparator;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/util/Comparator\0", "comparingDouble\0", "(Ljava/util/function/ToDoubleFunction;)Ljava/util/Comparator;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}