Example #1
0
public void @this(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.WeakHashMap: void <init>(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    ((global::java.util.AbstractMap) _r1_o).@this();
    if (_r2.i < 0) goto label34;
    _r0.i = 0;
    ((global::java.util.WeakHashMap) _r1_o)._felementCount = _r0.i;
    if (_r2.i != 0) goto label32;
    _r0.i = 1;
    label11:;
    _r0_o = global::java.util.WeakHashMap.newEntryArray((int) _r0.i);
    ((global::java.util.WeakHashMap) _r1_o)._felementData = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0.i = 7500;
    ((global::java.util.WeakHashMap) _r1_o)._floadFactor = _r0.i;
    ((global::java.util.WeakHashMap) _r1_o).computeMaxSize();
    _r0_o = new global::[email protected]();
    ((global::[email protected]) _r0_o).@this();
    ((global::java.util.WeakHashMap) _r1_o)._freferenceQueue = (global::[email protected]) _r0_o;
    return;
    label32:;
    _r0.i = _r2.i;
    goto label11;
    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.WeakHashMap: void <init>(int)]
}
Example #2
0
public void @this(int n1, float n2){
//XMLVM_BEGIN_WRAPPER[java.util.WeakHashMap: void <init>(int, float)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    _r1_o = this;
    _r2.i = n1;
    _r3.f = n2;
    ((global::java.util.AbstractMap) _r1_o).@this();
    if (_r2.i < 0) goto label42;
    _r0.f = (float)0.0D;
    _r0.i = _r3.f > _r0.f ? 1 : (_r3.f == _r0.f ? 0 : -1);
    if (_r0.i <= 0) goto label42;
    _r0.i = 0;
    ((global::java.util.WeakHashMap) _r1_o)._felementCount = _r0.i;
    if (_r2.i != 0) goto label40;
    _r0.i = 1;
    label16:;
    _r0_o = global::java.util.WeakHashMap.newEntryArray((int) _r0.i);
    ((global::java.util.WeakHashMap) _r1_o)._felementData = (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o;
    _r0.f = (float)10000.0D;
    _r0.f = _r0.f * _r3.f;
    _r0.i = (int) _r0.f;
    ((global::java.util.WeakHashMap) _r1_o)._floadFactor = _r0.i;
    ((global::java.util.WeakHashMap) _r1_o).computeMaxSize();
    _r0_o = new global::[email protected]();
    ((global::[email protected]) _r0_o).@this();
    ((global::java.util.WeakHashMap) _r1_o)._freferenceQueue = (global::[email protected]) _r0_o;
    return;
    label40:;
    _r0.i = _r2.i;
    goto label16;
    label42:;
    _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.WeakHashMap: void <init>(int, float)]
}