Example #1
0
public override global::System.Object iterator(){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$2: java.util.Iterator iterator()]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r0_o = new global::java.util.TreeMap_2UnboundedValueIterator();
    _r1_o = ((global::java.util.TreeMap_22) _r2_o)._fthis_20;
    ((global::java.util.TreeMap_2UnboundedValueIterator) _r0_o).@this((global::java.util.TreeMap) _r1_o);
    return (global::java.util.Iterator) _r0_o;
//XMLVM_END_WRAPPER[java.util.TreeMap$2: java.util.Iterator iterator()]
}
public override global::System.Object iterator(){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$SubMapValuesCollection: java.util.Iterator iterator()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r7_o = null;
    _r7_o = this;
    _r6.i = 0;
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r0_o)._fhasStart ? 1 : 0;
    if (_r0.i == 0) goto label43;
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    global::java.util.TreeMap_2SubMap.access_20((global::java.util.TreeMap_2SubMap) _r0_o);
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r0_o)._ffirstKeyNode;
    _r1_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r1.i = ((global::java.util.TreeMap_2SubMap) _r1_o)._ffirstKeyIndex;
    _r2.i = _r1.i;
    _r1_o = _r0_o;
    label22:;
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r0_o)._fhasEnd ? 1 : 0;
    if (_r0.i != 0) goto label64;
    _r0_o = new global::java.util.TreeMap_2UnboundedValueIterator();
    _r3_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r3_o = global::java.util.TreeMap_2SubMap.access_21((global::java.util.TreeMap_2SubMap) _r3_o);
    if (_r1_o != null) goto label39;
    _r2.i = _r6.i;
    label39:;
    ((global::java.util.TreeMap_2UnboundedValueIterator) _r0_o).@this((global::java.util.TreeMap) _r3_o, (global::java.util.TreeMap_2Node) _r1_o, (int) _r2.i);
    label42:;
    return (global::java.util.Iterator) _r0_o;
    label43:;
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r0_o = global::java.util.TreeMap_2SubMap.access_21((global::java.util.TreeMap_2SubMap) _r0_o);
    _r0_o = ((global::java.util.TreeMap) _r0_o)._froot;
    _r0_o = global::java.util.TreeMap.minimum((global::java.util.TreeMap_2Node) _r0_o);
    if (_r0_o == null) goto label62;
    _r1.i = ((global::java.util.TreeMap_2Node) _r0_o)._fleft_1idx;
    label59:;
    _r2.i = _r1.i;
    _r1_o = _r0_o;
    goto label22;
    label62:;
    _r1.i = _r6.i;
    goto label59;
    label64:;
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    global::java.util.TreeMap_2SubMap.access_22((global::java.util.TreeMap_2SubMap) _r0_o);
    _r0_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r0_o)._flastKeyNode;
    _r3_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r3.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._flastKeyIndex;
    _r4_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r4_o = ((global::java.util.TreeMap_2SubMap) _r4_o)._flastKeyNode;
    if (_r4_o == null) goto label136;
    _r4_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r4_o = ((global::java.util.TreeMap_2SubMap) _r4_o)._flastKeyNode;
    _r4_o = ((global::java.util.TreeMap_2Node) _r4_o)._fkeys;
    _r5_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r5.i = ((global::java.util.TreeMap_2SubMap) _r5_o)._flastKeyIndex;
    _r4_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r4_o)[_r5.i];
    _r5_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r5_o = ((global::java.util.TreeMap_2SubMap) _r5_o)._fendKey;
    _r4.i = ((global::java.lang.Object) _r4_o).equals((global::java.lang.Object) _r5_o) ? 1 : 0;
    if (_r4.i != 0) goto label136;
    _r4.i = 1;
    label106:;
    _r3.i = _r3.i + _r4.i;
    if (_r0_o == null) goto label140;
    _r4.i = ((global::java.util.TreeMap_2Node) _r0_o)._fright_1idx;
    if (_r3.i <= _r4.i) goto label140;
    _r0_o = ((global::java.util.TreeMap_2Node) _r0_o)._fnext;
    if (_r0_o == null) goto label138;
    _r3.i = ((global::java.util.TreeMap_2Node) _r0_o)._fleft_1idx;
    label119:;
    if (_r0_o != null) goto label140;
    _r0_o = new global::java.util.TreeMap_2UnboundedValueIterator();
    _r3_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r3_o = global::java.util.TreeMap_2SubMap.access_21((global::java.util.TreeMap_2SubMap) _r3_o);
    if (_r1_o != null) goto label132;
    _r2.i = _r6.i;
    label132:;
    ((global::java.util.TreeMap_2UnboundedValueIterator) _r0_o).@this((global::java.util.TreeMap) _r3_o, (global::java.util.TreeMap_2Node) _r1_o, (int) _r2.i);
    goto label42;
    label136:;
    _r4.i = _r6.i;
    goto label106;
    label138:;
    _r3.i = _r6.i;
    goto label119;
    label140:;
    _r5.i = _r3.i;
    _r4_o = _r0_o;
    _r0_o = new global::java.util.TreeMap_2BoundedValueIterator();
    if (_r1_o != null) goto label147;
    _r2.i = _r6.i;
    label147:;
    _r3_o = ((global::java.util.TreeMap_2SubMapValuesCollection) _r7_o)._fsubMap;
    _r3_o = global::java.util.TreeMap_2SubMap.access_21((global::java.util.TreeMap_2SubMap) _r3_o);
    if (_r4_o != null) goto label156;
    _r5.i = _r6.i;
    label156:;
    ((global::java.util.TreeMap_2BoundedValueIterator) _r0_o).@this((global::java.util.TreeMap_2Node) _r1_o, (int) _r2.i, (global::java.util.TreeMap) _r3_o, (global::java.util.TreeMap_2Node) _r4_o, (int) _r5.i);
    goto label42;
//XMLVM_END_WRAPPER[java.util.TreeMap$SubMapValuesCollection: java.util.Iterator iterator()]
}