Mercurial > hg > Database > jungle-network
comparison src/jungle/test/codesegment/local/HasFieldCodeSegment.java @ 61:e871e8fc3f69
added aliceInstall.sh
author | one |
---|---|
date | Mon, 15 Jul 2013 18:26:10 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
60:ea858089fbd9 | 61:e871e8fc3f69 |
---|---|
1 package jungle.test.codesegment.local; | |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 import alice.datasegment.CommandType; | |
5 import alice.datasegment.Receiver; | |
6 | |
7 public class HasFieldCodeSegment extends CodeSegment { | |
8 | |
9 Receiver arg1 = ids.create(CommandType.TAKE); | |
10 String str; | |
11 | |
12 public HasFieldCodeSegment(String s) { | |
13 str = s; | |
14 } | |
15 | |
16 | |
17 public void run() { | |
18 int count = arg1.asInteger(); | |
19 System.out.println("-HasFieldCodeSegment- : "+str); | |
20 System.exit(0); | |
21 } | |
22 | |
23 } |