array Iterator_nextFree784 integer Iterator_firstFree137 integer Iterator_maxIndex101 array Iterator_typeId147 array List_nextFree172 integer List_firstFree562 integer List_maxIndex180 array List_typeId800 integer A_firstFree202 = 0 integer A_maxIndex135 = 0 integer B_firstFree124 = 0 integer B_maxIndex176 = 0 integer C_firstFree194 = 0 integer C_maxIndex337 = 0 integer Iterator_firstFree137 = 0 integer Iterator_maxIndex101 = 0 integer List_firstFree562 = 0 integer List_maxIndex180 = 0 function initGlobals128() { } function main745() { initGlobals128(); init_test126(); } function config650() { } function init_test126() { local integer a205 local integer iterator932 local integer this802 local integer test_List_iterator_result137 local integer this755 local integer this131 local boolean test_Iterator_hasNext_result659 local integer this327 a_205 = new_List197(); this_802 = a_205; if (List_typeId_800[this_802] == 0) { if (this_802 == 0) { error107("Nullpointer exception when calling List.iterator"); } else { error107("Called List.iterator on invalid object."); }; } else { }; this_755 = this_802; test_List_iterator_result_137 = new_Iterator106(this_755); iterator_932 = test_List_iterator_result_137; loop { this_131 = iterator_932; if (Iterator_typeId_147[this_131] == 0) { if (this_131 == 0) { error107("Nullpointer exception when calling Iterator.hasNext"); } else { error107("Called Iterator.hasNext on invalid object."); }; } else { }; test_Iterator_hasNext_result_659 = true; exitwhen (not test_Iterator_hasNext_result_659); this_327 = iterator_932; if (Iterator_typeId_147[this_327] == 0) { if (this_327 == 0) { error107("Nullpointer exception when calling Iterator.next"); } else { error107("Called Iterator.next on invalid object."); }; } else { }; testSuccess421(); }; } IS_NATIVE function testSuccess421() { } function new_Iterator106(integer t268) returns integer { local integer this842 local integer this800 if (Iterator_firstFree_137 == 0) { if (Iterator_maxIndex_101 < 32768) { Iterator_maxIndex_101 = (Iterator_maxIndex_101 + 1); this_800 = Iterator_maxIndex_101; Iterator_typeId_147[this_800] = 4; } else { error107("Out of memory: Could not create Iterator."); this_800 = 0; }; } else { Iterator_firstFree_137 = (Iterator_firstFree_137 - 1); this_800 = Iterator_nextFree_784[Iterator_firstFree_137]; Iterator_typeId_147[this_800] = 4; }; this_842 = this_800; return this_842; } function new_List197() returns integer { local integer this114 local integer this374 if (List_firstFree_562 == 0) { if (List_maxIndex_180 < 32768) { List_maxIndex_180 = (List_maxIndex_180 + 1); this_374 = List_maxIndex_180; List_typeId_800[this_374] = 5; } else { error107("Out of memory: Could not create List."); this_374 = 0; }; } else { List_firstFree_562 = (List_firstFree_562 - 1); this_374 = List_nextFree_172[List_firstFree_562]; List_typeId_800[this_374] = 5; }; this_114 = this_374; return this_114; } function error107(string msg188) { $debugPrint582((msg_188 + (" " + #getStackTrace()))); }