static bool n_SameSubtype_Ljavax_jmdns_impl_DNSEntry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { DNSEntry __this = Java.Lang.Object.GetObject <DNSEntry> (native__this, JniHandleOwnership.DoNotTransfer); global::Javax.Jmdns.Impl.DNSEntry p0 = Java.Lang.Object.GetObject <global::Javax.Jmdns.Impl.DNSEntry> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.SameSubtype(p0); return(__ret); }
static int n_CompareTo_Ljavax_jmdns_impl_DNSEntry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { DNSEntry __this = Java.Lang.Object.GetObject <DNSEntry> (native__this, JniHandleOwnership.DoNotTransfer); global::Javax.Jmdns.Impl.DNSEntry p0 = Java.Lang.Object.GetObject <global::Javax.Jmdns.Impl.DNSEntry> (native_p0, JniHandleOwnership.DoNotTransfer); int __ret = __this.CompareTo(p0); return(__ret); }
public virtual bool SameSubtype(global::Javax.Jmdns.Impl.DNSEntry p0) { if (id_sameSubtype_Ljavax_jmdns_impl_DNSEntry_ == IntPtr.Zero) { id_sameSubtype_Ljavax_jmdns_impl_DNSEntry_ = JNIEnv.GetMethodID(class_ref, "sameSubtype", "(Ljavax/jmdns/impl/DNSEntry;)Z"); } bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(Handle, id_sameSubtype_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, id_sameSubtype_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } return(__ret); }
public virtual int CompareTo(global::Javax.Jmdns.Impl.DNSEntry p0) { if (id_compareTo_Ljavax_jmdns_impl_DNSEntry_ == IntPtr.Zero) { id_compareTo_Ljavax_jmdns_impl_DNSEntry_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Ljavax/jmdns/impl/DNSEntry;)I"); } int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, id_compareTo_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } return(__ret); }