Inheritance: global::java.lang.Object, global::System.IComparable, global::java.lang.Runnable
Ejemplo n.º 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());
        }
Ejemplo n.º 2
0
 public void cIfaceCant()
 {
     var cw1 = new JWithClrInterface(1);
     Bridge.WrapCLR(cw1);
 }