Basic HTML version of Foils prepared
May 19 99
Foil 27 Splitting Classes - Example
From
Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars --
Spring 99
.
by
Lukasz Beca
1
public class BetterShape {
2
protected Location loc_ = new Location(0,0);
3
protected Dimentions dim_ = new Dimentions(0,0);
4
5
public double x() {
6
return loc_.getX();
7
}
8
public double width() {
9
return dim_.getWidth();
10
}
11
// ...
12
}
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