Sealed alternative

Posted by Jeriho on Stack Overflow See other posts from Stack Overflow or by Jeriho
Published on 2010-06-08T14:07:46Z Indexed on 2010/06/08 14:42 UTC
Read the original article Hit count: 296

Filed under:
|

According to "Programming in scala" a sealed class cannot have any new subclasses added except the ones in the same ?le. In the same book was described a way to enumerate classes that can extend class or trait in multiple files. I have forgotten it and can't find again. Remind it to me, please.

© Stack Overflow or respective owner

Related posts about scala

Related posts about sealed