@HotSpotIntrinsicCandidate
public static Integer valueOf (int i)

Returns an Integer instance representing the specified int value. If a new Integer instance is not required, this method should generally be used in preference to the constructor Integer(int), as this method is likely to yield significantly better space and time performance by caching frequently requested values. This method will always cache values in the range -128 to 127, inclusive, and may cache other values outside of this range.

Parameters:
i    an int value.

Returns:  an Integer instance representing i.

Since:  1.5