public virtual global::System.Object values(){
//XMLVM_BEGIN_WRAPPER[java.util.Collections$SynchronizedMap: java.util.Collection values()]
    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._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r0_o = ((global::java.util.Collections_2SynchronizedMap) _r4_o)._fmutex;
    global::System.Threading.Monitor.Enter(_r0_o);
    try {
    _r1_o = new global::java.util.Collections_2SynchronizedCollection();
    _r2_o = ((global::java.util.Collections_2SynchronizedMap) _r4_o)._fm;
    _r2_o = ((global::java.util.Map) _r2_o).values();
    _r3_o = ((global::java.util.Collections_2SynchronizedMap) _r4_o)._fmutex;
    ((global::java.util.Collections_2SynchronizedCollection) _r1_o).@this((global::java.util.Collection) _r2_o, (global::java.lang.Object) _r3_o);
    global::System.Threading.Monitor.Exit(_r0_o);
    return (global::java.util.Collection) _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$SynchronizedMap: java.util.Collection values()]
}
Exemple #2
0
public virtual global::System.Object values(){
//XMLVM_BEGIN_WRAPPER[java.util.Hashtable: java.util.Collection values()]
    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_2SynchronizedCollection();
    _r1_o = new global::java.util.Hashtable_27();
    ((global::java.util.Hashtable_27) _r1_o).@this((global::java.util.Hashtable) _r2_o);
    ((global::java.util.Collections_2SynchronizedCollection) _r0_o).@this((global::java.util.Collection) _r1_o, (global::java.lang.Object) _r2_o);
    return (global::java.util.Collection) _r0_o;
//XMLVM_END_WRAPPER[java.util.Hashtable: java.util.Collection values()]
}
public static global::System.Object synchronizedCollection(global::java.util.Collection n1){
//XMLVM_BEGIN_WRAPPER[java.util.Collections: java.util.Collection synchronizedCollection(java.util.Collection)]
    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_o = new global::java.util.Collections_2SynchronizedCollection();
    ((global::java.util.Collections_2SynchronizedCollection) _r0_o).@this((global::java.util.Collection) _r1_o);
    return (global::java.util.Collection) _r0_o;
//XMLVM_END_WRAPPER[java.util.Collections: java.util.Collection synchronizedCollection(java.util.Collection)]
}