Float.valueOf

Returns a {@code Float} instance representing the specified {@code float} value. If a new {@code Float} instance is not required, this method should generally be used in preference to the constructor {@link #Float(float)}, as this method is likely to yield significantly better space and time performance by caching frequently requested values.

@param f a float value. @return a {@code Float} instance representing {@code f}.

class Float
static
valueOf
(
float f
)

Meta