Basic HTML version of Foils prepared May 19 99

Foil 26 Splitting Classes - Example

From Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars -- Spring 99. by Lukasz Beca


1 public class Shape {
2 protected double x_ = 0.0;
3 protected double y_ = 0.0;
4 protected double width_ = 0.0;
5 protected double height_ = 0.0;
6
7 public synchronized double x() {
8 return x_;
9 }
10 public synchronized double width() {
11 return width_;
12 }
13 // ...
14 }

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999