I\'ve recently discovered an interesting way to create a new instance of an object in Google Guava and Project Lombok: Hide a constructor behind a static creator method. Thi
Well it would be possible for SomeClass.create() to pull an instance from a cache. new SomeClass() won't do that without some shenanigans.
SomeClass.create()
new SomeClass()
It would be also be possible for create() to return any number of implementations of SomeClass. Basically, a Factory type of dealio.
create()
SomeClass