Make Grid object mutable.
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Aug 2016 20:18:29 +0000 (16:18 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Aug 2016 20:18:29 +0000 (16:18 -0400)
As it doesn't seem that a fully immutable object is possible in general (even
if it kinda works in this case, since there's nothing that needs to be hidden),
since all relevant data must pass through a public constructor.

Is a private constructor possible? If so, immutable objects can be doable.


No differences found
This page took 0.018061 seconds and 4 git commands to generate.