|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 11/06/2009 at 03:05PM PST, ID: 24879589 | Points: 500 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: |
class Bone {
synchronized(this) {
Dog.getInstance().chew(this);
}
}
class Dog {
private set Set = new HashSet();
synchronized(this){
public void chew(Bone bone) {
set.add(bone)
}
}
}
|
Advertisement