public override global::System.Object subList(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.Collections$UnmodifiableRandomAccessList: java.util.List subList(int, int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    _r2_o = this;
    _r3.i = n1;
    _r4.i = n2;
    _r0_o = new global::java.util.Collections_2UnmodifiableRandomAccessList();
    _r1_o = ((global::java.util.Collections_2UnmodifiableRandomAccessList) _r2_o)._flist;
    _r1_o = ((global::java.util.List) _r1_o).subList((int) _r3.i, (int) _r4.i);
    ((global::java.util.Collections_2UnmodifiableRandomAccessList) _r0_o).@this((global::java.util.List) _r1_o);
    return (global::java.util.List) _r0_o;
//XMLVM_END_WRAPPER[java.util.Collections$UnmodifiableRandomAccessList: java.util.List subList(int, int)]
}
private global::System.Object readResolve(){
//XMLVM_BEGIN_WRAPPER[java.util.Collections$UnmodifiableList: java.lang.Object readResolve()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r0_o = ((global::java.util.Collections_2UnmodifiableList) _r2_o)._flist;
    _r0.i = ((_r0_o != null) && (_r0_o is global::java.util.RandomAccess)) ? 1 : 0;
    if (_r0.i == 0) goto label14;
    _r0_o = new global::java.util.Collections_2UnmodifiableRandomAccessList();
    _r1_o = ((global::java.util.Collections_2UnmodifiableList) _r2_o)._flist;
    ((global::java.util.Collections_2UnmodifiableRandomAccessList) _r0_o).@this((global::java.util.List) _r1_o);
    label13:;
    return (global::java.lang.Object) _r0_o;
    label14:;
    _r0_o = _r2_o;
    goto label13;
//XMLVM_END_WRAPPER[java.util.Collections$UnmodifiableList: java.lang.Object readResolve()]
}
Beispiel #3
0
public static global::System.Object unmodifiableList(global::java.util.List n1){
//XMLVM_BEGIN_WRAPPER[java.util.Collections: java.util.List unmodifiableList(java.util.List)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    _r1_o = n1;
    if (_r1_o != null) goto label8;
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label8:;
    _r0.i = ((_r1_o != null) && (_r1_o is global::java.util.RandomAccess)) ? 1 : 0;
    if (_r0.i == 0) goto label18;
    _r0_o = new global::java.util.Collections_2UnmodifiableRandomAccessList();
    ((global::java.util.Collections_2UnmodifiableRandomAccessList) _r0_o).@this((global::java.util.List) _r1_o);
    label17:;
    return (global::java.util.List) _r0_o;
    label18:;
    _r0_o = new global::java.util.Collections_2UnmodifiableList();
    ((global::java.util.Collections_2UnmodifiableList) _r0_o).@this((global::java.util.List) _r1_o);
    goto label17;
//XMLVM_END_WRAPPER[java.util.Collections: java.util.List unmodifiableList(java.util.List)]
}