<p>This method constructs a Boxed Primitive from a primitive only to call the primitiveValue() method to
cast the value to another primitive typee. It is simpler to just use casting</p>
<pre>
  primitive i = new BoxedPrimitive(1.0).primitiveValue();
    or
  primitive i = BoxedPrimitive.valueOf(1.0).primitiveValue();

    should just use 
  primitive i = (primitive)1.0;
</pre>