static int n_CompareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amazon.Clouddrive.Model.GetNodePropertyResponse __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.GetNodePropertyResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse     p0     = (global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse)global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.CompareTo(p0);

            return(__ret);
        }
Пример #2
0
        static int n_CompareTo_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_another)
        {
            global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object another = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_another, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.CompareTo(another);

            return(__ret);
        }
        public virtual unsafe int CompareTo(global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse p0)
        {
            if (id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_ == IntPtr.Zero)
            {
                id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveResponse;)I");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                int __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveResponse;)I"), __args);
                }
                return(__ret);
            } finally {
            }
        }