gFTL
gFTL copied to clipboard
map::of() should return reference to new object
currently if the key is not found, a null pointer is returned, but the underlying set has grown.
Polymorphism gets interesting in this case.
Polymorphism should return a new instance for the base class if it is not abstract. But if it is ... then of() should not have been used.