Mercurial > hg > Members > nobuyasu > Alice > DPPAlice
comparison src/alice/test/dpp/codesegment/EatCodeSegment.java @ 6:b59c04a332a1
add PutForkCodeSegment
author | one |
---|---|
date | Sun, 25 Nov 2012 17:22:45 +0900 |
parents | 2db314b1a970 |
children | bfaaebb50a2e |
comparison
equal
deleted
inserted
replaced
5:2db314b1a970 | 6:b59c04a332a1 |
---|---|
10 phil = p; | 10 phil = p; |
11 } | 11 } |
12 | 12 |
13 @Override | 13 @Override |
14 public void run() { | 14 public void run() { |
15 | 15 System.out.println(phil.getName() + " is eating."); |
16 new PutForkCodeSegment(phil); | |
16 } | 17 } |
17 | 18 |
18 } | 19 } |