1
0
forked from gmp/jni
jni/test/AClass.java

32 lines
453 B
Java
Raw Normal View History

package test;
public class AClass {
public static int staticintval = 100;
public int intval = 0;
public static int GetStaticInt() {
return staticintval;
}
public static void SetStaticInt(int val) {
staticintval = val;
}
public void IncInt() {
intval = intval + 1;
}
public int GetInt() {
return intval;
}
public void SetInt(int val) {
intval = val;
}
public void AddInts(int val1, int val2) {
intval = val1 + val2;
}
}