static int n_CompareTo_Lcom_amazon_clouddrive_model_CloudDriveRequest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amazon.Clouddrive.Model.GetAccountQuotaRequest __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.GetAccountQuotaRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amazon.Clouddrive.Model.ICloudDriveRequest p0 = (global::Com.Amazon.Clouddrive.Model.ICloudDriveRequest)global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ICloudDriveRequest> (native_p0, JniHandleOwnership.DoNotTransfer); int __ret = __this.CompareTo(p0); return(__ret); }
static int n_CompareTo_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_another) { global::Com.Amazon.Clouddrive.Model.ICloudDriveRequest __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ICloudDriveRequest> (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.ICloudDriveRequest p0) { if (id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveRequest_ == IntPtr.Zero) { id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveRequest_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveRequest;)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_CloudDriveRequest_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveRequest;)I"), __args); } return(__ret); } finally { } }