Other |
---|
1.4.0 betaFixed |
Relates :
|
The wrapper class java.lang.Boolean currently lacks a static factory that takes a boolean. As a consequence, people use the constructor, which needlessly creates a new object. Note that Boolean does have a static factory to go with its String constructor, so in addition to being inefficient, it's inconsistent that this method is missing.
|