R
Roedy Green
Lets say you invented a class with a boolean static final. Then you
decided you wanted TWO classes, identical except for the value of that
boolean static final.
How would you go about producing the two classes without actually
duplicating all the code?
--
Roedy Green Canadian Mind Products
http://mindprod.com
We are almost certainly going to miss our [global warming] deadline.
We cannot get the 10 lost years back, and by the time a new global agreement to
replace the Kyoto accord is negotiated and put into effect, there will probably
not be enough time left to stop the warming short of the point where we must not
go. ~ Gwynne Dyer
decided you wanted TWO classes, identical except for the value of that
boolean static final.
How would you go about producing the two classes without actually
duplicating all the code?
--
Roedy Green Canadian Mind Products
http://mindprod.com
We are almost certainly going to miss our [global warming] deadline.
We cannot get the 10 lost years back, and by the time a new global agreement to
replace the Kyoto accord is negotiated and put into effect, there will probably
not be enough time left to stop the warming short of the point where we must not
go. ~ Gwynne Dyer