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


public class Shape {
protected double x_ = 0.0;
protected double y_ = 0.0;
protected double width_ = 0.0;
protected double height_ = 0.0;
public synchronized double x() {
return x_;
}
public synchronized double width() {
return width_;
}
// ...
}



© 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