projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exception: small example of how interfacing hs-java
[mate.git]
/
tests
/
Instance3.java
diff --git
a/tests/Instance3.java
b/tests/Instance3.java
index f5ca160b6c1ba0889fb3d3bba545481fa6128449..af30d3637d8c389c8139130c61848fe946d75d2e 100644
(file)
--- a/
tests/Instance3.java
+++ b/
tests/Instance3.java
@@
-5,8
+5,8
@@
public class Instance3 extends Instance2 {
int sum = 0;
Instance3 a = new Instance3();
a.setX(0x33);
-
a.getX(
); // 0x33
+
System.out.printf("result: 0x%08x\n", a.getX()
); // 0x33
a.setX(0x44);
-
a.getX(
); // 0x44
+
System.out.printf("result: 0x%08x\n", a.getX()
); // 0x44
}
}