static bool n_A_Ljava_util_Map_Entry_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Anet.Channel.Strategy.Utils.SerialLruCache __this = global::Java.Lang.Object.GetObject <global::Anet.Channel.Strategy.Utils.SerialLruCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Util.IMapEntry p0 = (global::Java.Util.IMapEntry)global::Java.Lang.Object.GetObject <global::Java.Util.IMapEntry> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.A(p0); return(__ret); }
protected virtual unsafe bool A(global::Java.Util.IMapEntry p0) { if (id_a_Ljava_util_Map_Entry_ == IntPtr.Zero) { id_a_Ljava_util_Map_Entry_ = JNIEnv.GetMethodID(class_ref, "a", "(Ljava/util/Map$Entry;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_a_Ljava_util_Map_Entry_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "a", "(Ljava/util/Map$Entry;)Z"), __args); } return(__ret); } finally { } }