Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
*effectively immutable* : When applied to an object, this means that at least one of the conditions for immutability does not hold but the object's state cannot be changed after initialization or publication. "Effectively immutable objects may still have internal mutable state for purposes of performance optimization; some state variables may be lazily computed, so long as they are computed from immutable state and that callers cannot tell the difference." \[[Goetz 07|AA. Java References#Goetz 07]\]. "Using effectively immutable objects can simplify development and improve performance by reducing the need for synchronization." \[[Goetz 06|AA. Java References#Goetz 06]\]

...