R
Roedy Green
What the techniques are there for smuggling information to enums?
they don't have constructors. It is not clear how you would make
them nested classes.
Is it possible to somehow have two enum class objects in RAM at once,
each with different instance data?
Do you have to pass it in each time with the method or use static
setters?
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Nature provides a free lunch, but only if we control our appetites."
~ William Ruckelshaus, America’s first head of the EPA
they don't have constructors. It is not clear how you would make
them nested classes.
Is it possible to somehow have two enum class objects in RAM at once,
each with different instance data?
Do you have to pass it in each time with the method or use static
setters?
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Nature provides a free lunch, but only if we control our appetites."
~ William Ruckelshaus, America’s first head of the EPA