Пример #1
0
 public double GetDouble(object obj)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(obj))
     {
         return(_cmj_fun7.CallDouble(this, cmj_jmargs));
     }
 }
Пример #2
0
 public static double ParseDouble(string s)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(s))
     {
         return(_cmj_fun13.CallDouble(null, cmj_jmargs));
     }
 }
Пример #3
0
 public static double Sum(double a, double b)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(a).Add(b))
     {
         return(_cmj_fun14.CallDouble(null, cmj_jmargs));
     }
 }
Пример #4
0
 public static double LongBitsToDouble(long bits)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(bits))
     {
         return(_cmj_fun10.CallDouble(null, cmj_jmargs));
     }
 }
Пример #5
0
 public double ReadDouble()
 {
     return(_cmj_fun12.CallDouble(this));
 }