net.sf.jni4net.tested.JWithClrInterface.run C# (CSharp) Method

run() private method

private run ( ) : void
return void
        public virtual void run()
        {
            global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
            using(new global::net.sf.jni4net.jni.LocalFrame(@__env, 10)){
            @__env.CallVoidMethod(this, global::net.sf.jni4net.tested.JWithClrInterface.j4n_run1);
            }
        }

Usage Example

Example #1
0
        public void cIface()
        {
            var cw1 = new JWithClrInterface(1);
            var cw2 = new JWithClrInterface(2);

            int res = cw1.CompareTo(cw2);

            Assert.AreEqual(1, res);

            cw2.run();
            Assert.AreEqual(3, cw2.getValue());
        }