News for hackers. Stuff that matters.
Re:Java 8: No more loops by Proleps on Monday January 12, 2015 @02:21PM (#8875832)
> Also, your first class isn't fully immutable—getTags should be implemented as follows:

True. It would be nice if Java had some immutable collection classes that don't have mutable methods. A method that gets a List<String> made with Collections.unmodifiableList(tags), doesn't know that it is actually immutable.

There are no comments on this comment yet.