How can I make a field that has a public getter but the setter is private, in Scala?
EDIT: too bad there is no one-liner way to do this like there is in Groovy. Those solutions are all pretty clunky looking.
How can I make a field that has a public getter but the setter is private, in Scala?
EDIT: too bad there is no one-liner way to do this like there is in Groovy. Those solutions are all pretty clunky looking.