Mercurial > hg > Database > Alice
comparison src/alice/test/codesegment/remote/RemoteIncrement.java @ 217:b5c642ba998e working
change as** method and remove "local" key in TEST
author | sugi |
---|---|
date | Wed, 27 Mar 2013 20:02:38 +0900 |
parents | b5daccf36104 |
children |
comparison
equal
deleted
inserted
replaced
216:21bd8af1cf26 | 217:b5c642ba998e |
---|---|
11 /** | 11 /** |
12 * Increment DataSegment value up to 10 | 12 * Increment DataSegment value up to 10 |
13 */ | 13 */ |
14 @Override | 14 @Override |
15 public void run() { | 15 public void run() { |
16 int num = this.num.data.asInteger(this.num); | 16 int num = this.num.asInteger(); |
17 System.out.println("[CodeSegment] " + num++); | 17 System.out.println("[CodeSegment] " + num++); |
18 if (num == 10) System.exit(0); | 18 if (num == 10) System.exit(0); |
19 | 19 |
20 RemoteIncrement cs = new RemoteIncrement(); | 20 RemoteIncrement cs = new RemoteIncrement(); |
21 cs.num.setKey("remote", "num"); | 21 cs.num.setKey("remote", "num"); |