[jboss-dev-forums] [Design of JBossCache] - Re: Implicit marshalled values - a better way of handling re
manik.surtani@jboss.com
do-not-reply at jboss.com
Fri Jan 4 15:06:30 EST 2008
Wouldn't enums still be a problem in that they would require user type definitions and, hence, a class loader? I agree that they could easily be coded to and decoded from a String, but what of the case where there are 2 enums with the same values, e.g.,
| enum Type1{A, B, C}
|
| enum Type2{A, B, C}
|
| assert Type1.A.toString().equals(Type2.A.toString());
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117192#4117192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117192
More information about the jboss-dev-forums
mailing list