deep-c-rsc/jcgo_Out/AbstrcCl.c
Mister Hat 9769d9fe69 init
2021-07-16 17:09:34 -05:00

264 lines
6.3 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_AbstractCollection
#include "jcgobchk.h"
#endif
JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractCollection__add__Lo( java_util_AbstractCollection
This, java_lang_Object o )
{
{
JCGO_THROW_EXC(java_lang_UnsupportedOperationException__new__());
}
return (jboolean)0;
}
JCGO_NOSEP_STATIC java_util_AbstractCollection CFASTCALL
java_util_AbstractCollection__this__( java_util_AbstractCollection
This )
{
{
;
}
return This;
}
JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractCollection__addAll__L07mt2( java_util_AbstractCollection
This, java_util_Collection c )
{
{
java_util_Iterator itr;
jint pos;
jboolean modified;
itr= (JCGO_CALL_VFUNC(c)->iterator__(
c));
modified= jfalse;
pos= (JCGO_CALL_NZVFUNC(c)->size__(
c));
while (--pos >= 0)
{
modified|= (jboolean)(JCGO_CALL_NZVFUNC(This)->add__Lo(
This, (JCGO_CALL_VFUNC(itr)->next__(
itr))));
}
return (jboolean)modified;
}
}
JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractCollection__containsAll__L07mt2( java_util_AbstractCollection
This, java_util_Collection c )
{
{
java_util_Iterator itr;
jint pos;
itr= (JCGO_CALL_VFUNC(c)->iterator__(
c));
pos= (JCGO_CALL_NZVFUNC(c)->size__(
c));
while (--pos >= 0)
{
if (!(JCGO_CALL_NZVFUNC(This)->contains__Lo(
This, (JCGO_CALL_VFUNC(itr)->next__(
itr)))))
{
return (jboolean)jfalse;
}
}
return (jboolean)jtrue;
}
}
JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractCollection__isEmpty__( java_util_AbstractCollection
This )
{
{
return (jboolean)((JCGO_CALL_NZVFUNC(This)->size__(
This)) == 0);
}
}
JCGO_NOSEP_STATIC java_lang_String CFASTCALL
java_util_AbstractCollection__toString__( java_util_AbstractCollection
This )
{
{
java_util_Iterator itr;
java_lang_StringBuilder r;
jint pos;
struct java_lang_StringBuilder_s jcgo_stackobj1;
itr= (JCGO_CALL_NZVFUNC(This)->iterator__(
This));
r= (java_lang_StringBuilder__this__Ls(
JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods),
JCGO_STRREF_OF(jcgo_string2_AbstrcCl)));
pos= (JCGO_CALL_NZVFUNC(This)->size__(
This));
while (--pos >= 0)
{
java_lang_Object o;
o= (JCGO_CALL_VFUNC(itr)->next__(
itr));
if (o == (java_lang_Object)This)
{
(java_lang_StringBuilder__append__Ls(
r, JCGO_STRREF_OF(jcgo_string3_AbstrcCl)));
}
else
{
(java_lang_StringBuilder__append__Lo(
r, o));
}
if (pos > 0)
{
(java_lang_StringBuilder__append__Ls(
r, JCGO_STRREF_OF(jcgo_string4_Hshtbl)));
}
}
(java_lang_StringBuilder__append__C(
r, (jchar)93/*']'*/));
return (java_lang_StringBuilder__toString__(
r));
}
}
JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractCollection__equals__LoLo( java_lang_Object o1, java_lang_Object
o2 )
{
{
return (jboolean)(o1 == jnull? o2 == jnull : (JCGO_CALL_NZVFUNC(o1)->equals__Lo(
o1, o2)));
}
}
JCGO_NOSEP_INLINE jint CFASTCALL
java_util_AbstractCollection__hashCode__Lo( java_lang_Object o )
{
{
return o == jnull? 0 : (JCGO_CALL_NZVFUNC(o)->hashCode__(
o));
}
}
JCGO_NOSEP_DATA CONST struct jcgo_methods_s java_util_AbstractCollection_methods=
{
JCGO_CLASSREF_OF(java_util_AbstractCollection__class),
JCGO_GCJDESCR_ZEROINIT
OBJT_java_util_AbstractCollection,
0,
NULL,
JCGO_CLINIT_INIT(0)
(jObject (CFASTCALL*)(jObject))java_util_AbstractCollection__this__
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_util_AbstractCollection_class_s
java_util_AbstractCollection__class JCGO_THRD_ATTRNONGC=
{
{
&java_lang_Class_methods,
JCGO_MON_INIT
JCGO_OBJREF_OF(*(java_lang_Object)&java_util_AbstractCollection_methods),
JCGO_STRREF_OF(jcgo_string1_AbstrcCl),
JCGO_CLASSREF_OF(java_lang_Object__class),
((jObjectArr)JCGO_OBJREF_OF(jcgo_array4_AbstrcCl)),
0x401
}
};
JCGO_NOSEP_DATA CONST jcgo_arrtype2_GameMdl jcgo_array4_AbstrcCl=
{
(jvtable)&jObjectArr_methods,
JCGO_MON_INIT
1,
JCGO_CLASSREF_OF(java_lang_Class__class),
{
(jObject)JCGO_CLASSREF_OF(java_util_Collection__class)
}
};
JCGO_NOSEP_DATA CONST jcgo_arrtype90_GmCnnctn jcgo_array5_AbstrcCl=
{
(jvtable)&jbyteArr_methods,
JCGO_MON_INIT
28,
{
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)117/*'u'*/,
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/,
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)65/*'A'*/, (jbyte)(jchar)98/*'b'*/,
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)114/*'r'*/,
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/,
(jbyte)(jchar)67/*'C'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)108/*'l'*/,
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)99/*'c'*/,
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/,
(jbyte)(jchar)110/*'n'*/
}
};
JCGO_NOSEP_DATA CONST jcgo_arrtype2_BZLib jcgo_array6_AbstrcCl=
{
(jvtable)&jbyteArr_methods,
JCGO_MON_INIT
6,
{
(jbyte)(jchar)91/*'['*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)97/*'a'*/,
(jbyte)(jchar)109/*'m'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)61/*'='*/
}
};
JCGO_NOSEP_DATA CONST jcgo_arrtype2_BZLib jcgo_array7_AbstrcCl=
{
(jvtable)&jbyteArr_methods,
JCGO_MON_INIT
6,
{
(jbyte)(jchar)60/*'<'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)104/*'h'*/,
(jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)62/*'>'*/
}
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_AbstrcCl
JCGO_THRD_ATTRNONGC=
{
&java_lang_String_methods,
JCGO_MON_INIT
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array5_AbstrcCl),
0, 28, (jint)0xa6b2d220L
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_AbstrcCl
JCGO_THRD_ATTRNONGC=
{
&java_lang_String_methods,
JCGO_MON_INIT
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array6_AbstrcCl),
0, 1, (jint)0x5bL
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_AbstrcCl
JCGO_THRD_ATTRNONGC=
{
&java_lang_String_methods,
JCGO_MON_INIT
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array7_AbstrcCl),
0, 6, (jint)0x6cf64aa4L
};
#ifdef CHKALL_java_util_AbstractCollection
#include "jcgochke.h"
#endif
#endif