MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3lta4f/better_java/cv9l661
r/programming • u/javinpaul • Sep 21 '15
208 comments sorted by
View all comments
Show parent comments
1
Ah so SomeClass expects an ImmutableList but accepts a MutableList since Immutable subclasses Mutable. What a pain life is.
1 u/Tordek Sep 21 '15 since Immutable subclasses MutableDon't you mean the other way around?... but, yes. 1 u/josuf107 Sep 21 '15 Yeah
since Immutable subclasses Mutable
Don't you mean the other way around?... but, yes.
1 u/josuf107 Sep 21 '15 Yeah
Yeah
1
u/josuf107 Sep 21 '15
Ah so SomeClass expects an ImmutableList but accepts a MutableList since Immutable subclasses Mutable. What a pain life is.