mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
156 lines
4.5 KiB
C
156 lines
4.5 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
|
|
|
#ifdef JCGO_SEPARATED
|
|
#define JCGO_116
|
|
#include "jcgortl.h"
|
|
#include "Main.h"
|
|
#endif
|
|
|
|
#ifdef JCGO_116
|
|
|
|
#ifdef CHKALL_java_util_AbstractMap
|
|
#include "jcgobchk.h"
|
|
#endif
|
|
|
|
JCGO_NOSEP_INLINE java_util_AbstractMap_BasicMapEntry CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__this__LoLo( java_util_AbstractMap_BasicMapEntry
|
|
This, java_lang_Object newKey, java_lang_Object newValue )
|
|
{
|
|
{
|
|
;
|
|
JCGO_FIELD_NZACCESS(This, key)= newKey;
|
|
JCGO_FIELD_NZACCESS(This, value)= newValue;
|
|
}
|
|
return This;
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC jboolean CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__equals__Lo( java_util_AbstractMap_BasicMapEntry
|
|
This, java_lang_Object o )
|
|
{
|
|
{
|
|
java_util_Map_Entry e;
|
|
jObject jcgo_rcvrL1;
|
|
if (jcgo_instanceOf0(OBJT_java_util_AbstractMap_BasicMapEntry, MAXT_java_util_AbstractMap_BasicMapEntry,
|
|
(jObject)o))
|
|
{
|
|
java_util_AbstractMap_BasicMapEntry e;
|
|
e= (java_util_AbstractMap_BasicMapEntry)o;
|
|
return (jboolean)((java_util_AbstractMap__equals__LoLo(
|
|
JCGO_FIELD_NZACCESS(This, key), JCGO_FIELD_NZACCESS(e, key))) &&
|
|
(java_util_AbstractMap__equals__LoLo(
|
|
JCGO_FIELD_NZACCESS(This, value), JCGO_FIELD_NZACCESS(e, value))));
|
|
}
|
|
if (!jcgo_instanceOf(OBJT_java_util_Map_Entry, MAXT_java_util_Map_Entry,
|
|
~0, (jObject)o))
|
|
{
|
|
return (jboolean)jfalse;
|
|
}
|
|
e= (java_util_Map_Entry)o;
|
|
return (jboolean)((jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
|
|
key), java_util_AbstractMap__equals__LoLo(
|
|
(java_lang_Object)jcgo_rcvrL1, (JCGO_CALL_NZVFUNC(e)->getKey__(
|
|
e)))) && (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, value),
|
|
java_util_AbstractMap__equals__LoLo(
|
|
(java_lang_Object)jcgo_rcvrL1, (JCGO_CALL_NZVFUNC(e)->getValue__(
|
|
e)))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE java_lang_Object CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__getKey__( java_util_AbstractMap_BasicMapEntry
|
|
This )
|
|
{
|
|
{
|
|
return JCGO_FIELD_NZACCESS(This, key);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE java_lang_Object CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__getValue__( java_util_AbstractMap_BasicMapEntry
|
|
This )
|
|
{
|
|
{
|
|
return JCGO_FIELD_NZACCESS(This, value);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE jint CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__hashCode__( java_util_AbstractMap_BasicMapEntry
|
|
This )
|
|
{
|
|
{
|
|
jint jcgo_rcvrI1;
|
|
return (jcgo_rcvrI1= (java_util_AbstractMap__hashCode__Lo(
|
|
JCGO_FIELD_NZACCESS(This, key))), jcgo_rcvrI1 ^ (java_util_AbstractMap__hashCode__Lo(
|
|
JCGO_FIELD_NZACCESS(This, value))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_INLINE java_lang_String CFASTCALL
|
|
java_util_AbstractMap_BasicMapEntry__toString__( java_util_AbstractMap_BasicMapEntry
|
|
This )
|
|
{
|
|
{
|
|
jObject jcgo_rcvrL1;
|
|
struct java_lang_StringBuilder_s jcgo_stackobj1;
|
|
return (jcgo_rcvrL1= (jObject)java_lang_StringBuilder__append__Ls(
|
|
java_lang_StringBuilder__append__Ls(
|
|
java_lang_StringBuilder__this__(
|
|
JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods)),
|
|
(java_lang_String__valueOf__Lo(
|
|
JCGO_FIELD_NZACCESS(This, key)))), JCGO_STRREF_OF(jcgo_string2_HashEntr)),
|
|
java_lang_String__new__L5dy9e(
|
|
java_lang_StringBuilder__append__Ls(
|
|
(java_lang_StringBuilder)jcgo_rcvrL1, (java_lang_String__valueOf__Lo(
|
|
JCGO_FIELD_NZACCESS(This, value))))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_DATA CONST struct java_util_AbstractMap_BasicMapEntry_methods_s
|
|
java_util_AbstractMap_BasicMapEntry_methods=
|
|
{
|
|
JCGO_CLASSREF_OF(java_util_AbstractMap_BasicMapEntry__class),
|
|
JCGO_GCJDESCR_ZEROINIT
|
|
OBJT_java_util_AbstractMap_BasicMapEntry,
|
|
(JCGO_OBJSIZE_T)sizeof(struct java_util_AbstractMap_BasicMapEntry_s),
|
|
NULL,
|
|
JCGO_CLINIT_INIT(0)
|
|
0,
|
|
java_util_AbstractMap_BasicMapEntry__equals__Lo,
|
|
java_util_AbstractMap_BasicMapEntry__hashCode__,
|
|
java_util_AbstractMap_BasicMapEntry__toString__,
|
|
java_lang_Object__finalize__,
|
|
java_util_AbstractMap_BasicMapEntry__getKey__,
|
|
java_util_AbstractMap_BasicMapEntry__getValue__
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_util_AbstractMap_BasicMapEntry_class_s
|
|
java_util_AbstractMap_BasicMapEntry__class JCGO_THRD_ATTRNONGC=
|
|
{
|
|
{
|
|
&java_lang_Class_methods,
|
|
JCGO_MON_INIT
|
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_util_AbstractMap_BasicMapEntry_methods),
|
|
JCGO_STRREF_OF(jcgo_string1_BscMpEnt),
|
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_HashEntr)),
|
|
0x8
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_BscMpEnt
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array3_AbstrcMp),
|
|
0, 35, (jint)0x68a57b9aL
|
|
};
|
|
|
|
#ifdef CHKALL_java_util_AbstractMap
|
|
#include "jcgochke.h"
|
|
#endif
|
|
|
|
#endif
|