/* 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_AbstractList
#include "jcgobchk.h"
#endif

JCGO_NOSEP_INLINE void CFASTCALL
java_util_AbstractList_1__void( java_util_AbstractList_1 This )
{
 JCGO_FIELD_NZACCESS(This, size)= (JCGO_CALL_NZVFUNC(JCGO_FIELD_NZACCESS(This,
  this_0))->size__(
  (java_util_AbstractCollection)JCGO_FIELD_NZACCESS(This, this_0)));
 JCGO_FIELD_NZACCESS(This, last)= (-(jint)1);
 JCGO_FIELD_NZACCESS(This, knownMod)= JCGO_FIELD_NZACCESS(JCGO_FIELD_NZACCESS(This,
  this_0), modCount);
}

JCGO_NOSEP_INLINE void CFASTCALL
java_util_AbstractList_1__checkMod__( java_util_AbstractList_1 This
 )
{
 {
  if (JCGO_FIELD_NZACCESS(This, knownMod) != JCGO_FIELD_NZACCESS(JCGO_FIELD_NZACCESS(This,
   this_0), modCount))
  {
   JCGO_THROW_EXC(java_util_ConcurrentModificationException__new__());
  }
 }
}

JCGO_NOSEP_INLINE jboolean CFASTCALL
java_util_AbstractList_1__hasNext__( java_util_AbstractList_1 This
 )
{
 {
  return (jboolean)(JCGO_FIELD_NZACCESS(This, pos) < JCGO_FIELD_NZACCESS(This,
   size));
 }
}

JCGO_NOSEP_STATIC java_lang_Object CFASTCALL
java_util_AbstractList_1__next__( java_util_AbstractList_1 This )
{
 {
  (java_util_AbstractList_1__checkMod__(
   This));
  if (JCGO_FIELD_NZACCESS(This, pos) == JCGO_FIELD_NZACCESS(This, size))
  {
   JCGO_THROW_EXC(java_util_NoSuchElementException__new__());
  }
  JCGO_FIELD_NZACCESS(This, last)= JCGO_FIELD_NZACCESS(This, pos);
  return (JCGO_CALL_NZVFUNC(JCGO_FIELD_NZACCESS(This, this_0))->get__I(
   JCGO_FIELD_NZACCESS(This, this_0), JCGO_FIELD_NZACCESS(This, pos)++));
 }
}

JCGO_NOSEP_STATIC void CFASTCALL
java_util_AbstractList_1__remove__( java_util_AbstractList_1 This
 )
{
 {
  (java_util_AbstractList_1__checkMod__(
   This));
  if (JCGO_FIELD_NZACCESS(This, last) < 0)
  {
   JCGO_THROW_EXC(java_lang_IllegalStateException__new__());
  }
  (JCGO_CALL_NZVFUNC(JCGO_FIELD_NZACCESS(This, this_0))->remove__I(
   JCGO_FIELD_NZACCESS(This, this_0), JCGO_FIELD_NZACCESS(This, last)));
  JCGO_FIELD_NZACCESS(This, pos)--;
  JCGO_FIELD_NZACCESS(This, size)--;
  JCGO_FIELD_NZACCESS(This, last)= (-(jint)1);
  JCGO_FIELD_NZACCESS(This, knownMod)= JCGO_FIELD_NZACCESS(JCGO_FIELD_NZACCESS(This,
   this_0), modCount);
 }
}

JCGO_NOSEP_STATIC java_util_AbstractList_1 CFASTCALL
java_util_AbstractList_1__this__L8rnj6( java_util_AbstractList_1 This,
 java_util_AbstractList this_0 )
{
 {
  JCGO_FIELD_NZACCESS(This, this_0)= this_0;
  java_util_AbstractList_1__void(This);
 }
 return This;
}

JCGO_NOSEP_FRWINL java_util_AbstractList_1 CFASTCALL
java_util_AbstractList_1__new__L8rnj6( java_util_AbstractList this_0
 )
{
 return java_util_AbstractList_1__this__L8rnj6(
  (java_util_AbstractList_1)jcgo_newObject((jvtable)&java_util_AbstractList_1_methods),
  this_0);
}

JCGO_NOSEP_DATA CONST struct java_util_AbstractList_1_methods_s java_util_AbstractList_1_methods=
{
 JCGO_CLASSREF_OF(java_util_AbstractList_1__class),
 JCGO_GCJDESCR_INIT(java_util_AbstractList_1_s, this_0)
 OBJT_java_util_AbstractList_1,
 (JCGO_OBJSIZE_T)sizeof(struct java_util_AbstractList_1_s),
 NULL,
 JCGO_CLINIT_INIT(0)
 0,
 java_lang_Object__equals__Lo,
 java_lang_Object__hashCode__,
 java_lang_Object__toString__,
 java_lang_Object__finalize__,
 java_util_AbstractList_1__hasNext__,
 java_util_AbstractList_1__next__,
 java_util_AbstractList_1__remove__
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_util_AbstractList_1_class_s
 java_util_AbstractList_1__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_util_AbstractList_1_methods),
  JCGO_STRREF_OF(jcgo_string1_AbstLsDC),
  JCGO_CLASSREF_OF(java_lang_Object__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array2_EntrItrt)),
  0x0
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_AbstLsDC
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array5_AbstrcLs),
 0, 24, (jint)0x88583a2dL
};

#ifdef CHKALL_java_util_AbstractList
#include "jcgochke.h"
#endif

#endif
