public virtual global::System.Object subList(int n1, int n2){ //XMLVM_BEGIN_WRAPPER[java.util.Collections$SynchronizedList: 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::System.Object _r3_o = null; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::org.xmlvm._nElement _r6; global::org.xmlvm._nExceptionAdapter _ex = null; _r4_o = this; _r5.i = n1; _r6.i = n2; _r0_o = ((global::java.util.Collections_2SynchronizedList) _r4_o)._fmutex; global::System.Threading.Monitor.Enter(_r0_o); try { _r1_o = new global::java.util.Collections_2SynchronizedList(); _r2_o = ((global::java.util.Collections_2SynchronizedList) _r4_o)._flist; _r2_o = ((global::java.util.List) _r2_o).subList((int) _r5.i, (int) _r6.i); _r3_o = ((global::java.util.Collections_2SynchronizedList) _r4_o)._fmutex; ((global::java.util.Collections_2SynchronizedList) _r1_o).@this((global::java.util.List) _r2_o, (global::java.lang.Object) _r3_o); global::System.Threading.Monitor.Exit(_r0_o); return (global::java.util.List) _r1_o; } catch (global::System.Exception e) { global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException()); global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is global::java.lang.Object) { _ex = ex; goto label18; } throw ex; } // end catch label18:; try { _r1_o = _ex.getJavaException(); _ex = null; global::System.Threading.Monitor.Exit(_r0_o); } catch (global::System.Exception e) { global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException()); global::System.Object _java_exception = ex.getJavaException(); if (_java_exception is global::java.lang.Object) { _ex = ex; goto label18; } throw ex; } // end catch throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r1_o); //XMLVM_END_WRAPPER[java.util.Collections$SynchronizedList: java.util.List subList(int, int)] }
private global::System.Object writeReplace(){ //XMLVM_BEGIN_WRAPPER[java.util.Collections$SynchronizedRandomAccessList: java.lang.Object writeReplace()] 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.Collections_2SynchronizedList(); _r1_o = ((global::java.util.Collections_2SynchronizedRandomAccessList) _r2_o)._flist; ((global::java.util.Collections_2SynchronizedList) _r0_o).@this((global::java.util.List) _r1_o); return (global::java.lang.Object) _r0_o; //XMLVM_END_WRAPPER[java.util.Collections$SynchronizedRandomAccessList: java.lang.Object writeReplace()] }
public static global::System.Object synchronizedList(global::java.util.List n1){ //XMLVM_BEGIN_WRAPPER[java.util.Collections: java.util.List synchronizedList(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_2SynchronizedRandomAccessList(); ((global::java.util.Collections_2SynchronizedRandomAccessList) _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_2SynchronizedList(); ((global::java.util.Collections_2SynchronizedList) _r0_o).@this((global::java.util.List) _r1_o); goto label17; //XMLVM_END_WRAPPER[java.util.Collections: java.util.List synchronizedList(java.util.List)] }