Exemplo n.º 1
0
public virtual global::System.Object subMap(global::java.lang.Object n1, global::java.lang.Object n2){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap: java.util.SortedMap subMap(java.lang.Object, java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    _r1_o = this;
    _r2_o = n1;
    _r3_o = n2;
    _r0_o = ((global::java.util.TreeMap) _r1_o)._fcomparator;
    if (_r0_o != null) goto label20;
    _r0_o = global::java.util.TreeMap.toComparable((global::java.lang.Object) _r2_o);
    _r0.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r3_o);
    if (_r0.i > 0) goto label34;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r2_o, (global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r3_o);
    label19:;
    return (global::java.util.SortedMap) _r0_o;
    label20:;
    _r0_o = ((global::java.util.TreeMap) _r1_o)._fcomparator;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r2_o, (global::java.lang.Object) _r3_o);
    if (_r0.i > 0) goto label34;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r2_o, (global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r3_o);
    goto label19;
    label34:;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
//XMLVM_END_WRAPPER[java.util.TreeMap: java.util.SortedMap subMap(java.lang.Object, java.lang.Object)]
}
Exemplo n.º 2
0
public virtual global::System.Object headMap(global::java.lang.Object n1){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap headMap(java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    _r3_o = this;
    _r4_o = n1;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o)._fcomparator;
    if (_r0_o != null) goto label46;
    _r0_o = global::java.util.TreeMap.access_20((global::java.lang.Object) _r4_o);
    _r1.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasStart ? 1 : 0;
    if (_r1.i == 0) goto label28;
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fstartKey;
    _r1.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r1_o);
    if (_r1.i >= 0) goto label28;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label28:;
    _r1.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasEnd ? 1 : 0;
    if (_r1.i == 0) goto label94;
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fendKey;
    _r0.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r1_o);
    if (_r0.i <= 0) goto label94;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label46:;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasStart ? 1 : 0;
    if (_r0.i == 0) goto label70;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o).comparator();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fstartKey;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r4_o, (global::java.lang.Object) _r1_o);
    if (_r0.i >= 0) goto label70;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label70:;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasEnd ? 1 : 0;
    if (_r0.i == 0) goto label94;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o).comparator();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fendKey;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r4_o, (global::java.lang.Object) _r1_o);
    if (_r0.i < 0) goto label94;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label94:;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasStart ? 1 : 0;
    if (_r0.i == 0) goto label108;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fstartKey;
    _r2_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r1_o, (global::java.util.TreeMap) _r2_o, (global::java.lang.Object) _r4_o);
    label107:;
    return (global::java.util.SortedMap) _r0_o;
    label108:;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r4_o);
    goto label107;
//XMLVM_END_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap headMap(java.lang.Object)]
}
Exemplo n.º 3
0
public virtual global::System.Object subMap(global::java.lang.Object n1, global::java.lang.Object n2){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap subMap(java.lang.Object, java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    _r2_o = this;
    _r3_o = n1;
    _r4_o = n2;
    ((global::java.util.TreeMap_2SubMap) _r2_o).checkRange((global::java.lang.Object) _r3_o);
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o)._fcomparator;
    if (_r0_o != null) goto label45;
    _r0_o = global::java.util.TreeMap.access_20((global::java.lang.Object) _r4_o);
    _r1.i = ((global::java.util.TreeMap_2SubMap) _r2_o)._fhasStart ? 1 : 0;
    if (_r1.i == 0) goto label29;
    _r1.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r3_o);
    if (_r1.i >= 0) goto label29;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label29:;
    _r1.i = ((global::java.util.TreeMap_2SubMap) _r2_o)._fhasEnd ? 1 : 0;
    if (_r1.i == 0) goto label93;
    _r0.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r4_o);
    if (_r0.i <= 0) goto label93;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label45:;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r2_o)._fhasStart ? 1 : 0;
    if (_r0.i == 0) goto label69;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o).comparator();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fstartKey;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r4_o, (global::java.lang.Object) _r1_o);
    if (_r0.i >= 0) goto label69;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label69:;
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r2_o)._fhasEnd ? 1 : 0;
    if (_r0.i == 0) goto label93;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o).comparator();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fendKey;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r4_o, (global::java.lang.Object) _r1_o);
    if (_r0.i <= 0) goto label93;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
    label93:;
    _r0_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    _r0_o = ((global::java.util.TreeMap) _r0_o).comparator();
    if (_r0_o != null) goto label119;
    _r0_o = global::java.util.TreeMap.access_20((global::java.lang.Object) _r3_o);
    _r0.i = ((global::java.lang.Comparable) _r0_o).compareTo((global::java.lang.Object) _r4_o);
    if (_r0.i > 0) goto label133;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r3_o, (global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r4_o);
    label118:;
    return (global::java.util.SortedMap) _r0_o;
    label119:;
    _r0.i = ((global::java.util.Comparator) _r0_o).compare((global::java.lang.Object) _r3_o, (global::java.lang.Object) _r4_o);
    if (_r0.i > 0) goto label133;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r2_o)._fbackingMap;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r3_o, (global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r4_o);
    goto label118;
    label133:;
    _r0_o = new global::java.lang.IllegalArgumentException();
    ((global::java.lang.IllegalArgumentException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r0_o);
//XMLVM_END_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap subMap(java.lang.Object, java.lang.Object)]
}
Exemplo n.º 4
0
public virtual global::System.Object tailMap(global::java.lang.Object n1){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap tailMap(java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    _r3_o = this;
    _r4_o = n1;
    ((global::java.util.TreeMap_2SubMap) _r3_o).checkRange((global::java.lang.Object) _r4_o);
    _r0.i = ((global::java.util.TreeMap_2SubMap) _r3_o)._fhasEnd ? 1 : 0;
    if (_r0.i == 0) goto label17;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    _r2_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fendKey;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r4_o, (global::java.util.TreeMap) _r1_o, (global::java.lang.Object) _r2_o);
    label16:;
    return (global::java.util.SortedMap) _r0_o;
    label17:;
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r1_o = ((global::java.util.TreeMap_2SubMap) _r3_o)._fbackingMap;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r4_o, (global::java.util.TreeMap) _r1_o);
    goto label16;
//XMLVM_END_WRAPPER[java.util.TreeMap$SubMap: java.util.SortedMap tailMap(java.lang.Object)]
}
public override global::System.Object values(){
//XMLVM_BEGIN_WRAPPER[java.util.TreeMap$NavigableSubMap: java.util.Collection values()]
    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::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::System.Object _r7_o = null;
    _r7_o = this;
    _r5_o = null;
    _r2.i = 1;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection;
    if (_r0_o != null) goto label20;
    _r0.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ftoEnd ? 1 : 0;
    if (_r0.i != 0) goto label23;
    _r0.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ffromStart ? 1 : 0;
    if (_r0.i != 0) goto label23;
    _r0_o = base.values();
    ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection = (global::java.util.Collection) _r0_o;
    label20:;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection;
    label22:;
    return (global::java.util.Collection) _r0_o;
    label23:;
    _r0.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._floInclusive ? 1 : 0;
    if (_r0.i == 0) goto label76;
    _r0.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ffromStart ? 1 : 0;
    if (_r0.i == 0) goto label71;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r1_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._flo;
    _r0_o = ((global::java.util.TreeMap) _r0_o).ceilingEntry((global::java.lang.Object) _r1_o);
    label39:;
    if (_r0_o != null) goto label102;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r0.i = ((global::java.util.TreeMap) _r0_o).isEmpty() ? 1 : 0;
    if (_r0.i == 0) goto label94;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._flo;
    _r1_o = _r0_o;
    label52:;
    _r6_o = new global::java.util.TreeMap_2SubMapValuesCollection();
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r3_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r4_o = _r1_o;
    _r5.i = _r2.i;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r1_o, 0!=_r2.i, (global::java.util.TreeMap) _r3_o, (global::java.lang.Object) _r4_o, 0!=_r5.i);
    ((global::java.util.TreeMap_2SubMapValuesCollection) _r6_o).@this((global::java.util.TreeMap_2SubMap) _r0_o);
    ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection = (global::java.util.Collection) _r6_o;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection;
    goto label22;
    label71:;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o).theSmallestEntry();
    goto label39;
    label76:;
    _r0.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ffromStart ? 1 : 0;
    if (_r0.i == 0) goto label89;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r1_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._flo;
    _r0_o = ((global::java.util.TreeMap) _r0_o).findHigherEntry((global::java.lang.Object) _r1_o);
    goto label39;
    label89:;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o).theSmallestEntry();
    goto label39;
    label94:;
    _r0_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r0_o = ((global::java.util.TreeMap) _r0_o).firstKey();
    _r1_o = _r0_o;
    goto label52;
    label102:;
    _r1.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ftoEnd ? 1 : 0;
    if (_r1.i == 0) goto label166;
    _r1_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r3_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fhi;
    _r1_o = ((global::java.util.TreeMap) _r1_o).ceilingEntry((global::java.lang.Object) _r3_o);
    label114:;
    if (_r1_o == null) goto label183;
    _r3.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fhiInclusive ? 1 : 0;
    if (_r3.i == 0) goto label183;
    _r3_o = ((global::java.util.Map_2Entry) _r1_o).getKey();
    _r4_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fhi;
    _r3.i = ((global::java.lang.Object) _r3_o).equals((global::java.lang.Object) _r4_o) ? 1 : 0;
    if (_r3.i == 0) goto label183;
    _r1_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    _r3_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fhi;
    _r1_o = ((global::java.util.TreeMap) _r1_o).higherEntry((global::java.lang.Object) _r3_o);
    _r3_o = _r1_o;
    label141:;
    if (_r0_o != null) goto label168;
    _r1_o = _r5_o;
    label144:;
    if (_r3_o != null) goto label174;
    _r4_o = _r5_o;
    label147:;
    _r6_o = new global::java.util.TreeMap_2SubMapValuesCollection();
    _r0_o = new global::java.util.TreeMap_2SubMap();
    _r3_o = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fm;
    if (_r4_o != null) goto label180;
    _r5.i = 0;
    label156:;
    ((global::java.util.TreeMap_2SubMap) _r0_o).@this((global::java.lang.Object) _r1_o, 0!=_r2.i, (global::java.util.TreeMap) _r3_o, (global::java.lang.Object) _r4_o, 0!=_r5.i);
    ((global::java.util.TreeMap_2SubMapValuesCollection) _r6_o).@this((global::java.util.TreeMap_2SubMap) _r0_o);
    ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._fvaluesCollection = (global::java.util.Collection) _r6_o;
    goto label20;
    label166:;
    _r1_o = _r5_o;
    goto label114;
    label168:;
    _r0_o = ((global::java.util.Map_2Entry) _r0_o).getKey();
    _r1_o = _r0_o;
    goto label144;
    label174:;
    _r0_o = ((global::java.util.Map_2Entry) _r3_o).getKey();
    _r4_o = _r0_o;
    goto label147;
    label180:;
    _r5.i = ((global::java.util.TreeMap_2NavigableSubMap) _r7_o)._ftoEnd ? 1 : 0;
    goto label156;
    label183:;
    _r3_o = _r1_o;
    goto label141;
//XMLVM_END_WRAPPER[java.util.TreeMap$NavigableSubMap: java.util.Collection values()]
}