Changeset 43 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench
- Timestamp:
- 05/17/11 13:44:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/EventGenerator.java
r42 r43 729 729 String lowordStr = getTermValue(null, (Element) loword.getChildren().get(0)); 730 730 String hiwordStr = getTermValue(null, (Element) hiword.getChildren().get(0)); 731 return MAKEPARAM( Integer.parseInt(lowordStr), Integer.parseInt(hiwordStr));731 return MAKEPARAM(Short.parseShort(lowordStr), Short.parseShort(hiwordStr)); 732 732 } 733 733 734 private static long MAKEPARAM(int loword, int hiword) {735 return loword| (( long) hiword) << 32;734 private static int MAKEPARAM(short loword, short hiword) { 735 return loword| ((int) hiword) << Short.SIZE; 736 736 } 737 737
Note: See TracChangeset
for help on using the changeset viewer.