Java - how to design your own type?

Posted by Walter White on Stack Overflow See other posts from Stack Overflow or by Walter White
Published on 2010-06-18T13:23:15Z Indexed on 2010/06/18 13:33 UTC
Read the original article Hit count: 432

Filed under:
|

Hi all,

Is it possible to design your own Java Type, say an extensible enum? For instance, I have user roles that a certain module uses and then a sub-package provides additional roles.

What would be involved on the JDK side of things?

Walter

© Stack Overflow or respective owner

Related posts about java

Related posts about jdk