示例#1
0
 public short GetShort(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_fun14.CallShort(this, cmj_jmargs));
     }
 }
示例#2
0
 public static short ReverseBytes(short i)
 {
     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(i))
     {
         return(_cmj_fun6.CallShort(null, cmj_jmargs));
     }
 }
示例#3
0
 public static short ParseShort(string s, int radix)
 {
     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(s).Add(radix))
     {
         return(_cmj_fun5.CallShort(null, cmj_jmargs));
     }
 }
示例#4
0
 public short ReadShort()
 {
     return(_cmj_fun21.CallShort(this));
 }
示例#5
0
 public short ShortValueExact()
 {
     return(_cmj_fun25.CallShort(this));
 }