I\'m consolidating code written by two different people and notice that casting a String value into a Long has been done in two different ways.
Coder #1 has done t
Both do parseLong(String, int)
internally (int being radix with value as 10), but valueOf
has advantage as documented below:
If a new Long instance is not required, this method should generally be used in preference to the constructor Long(long), as this method is likely to yield significantly better space and time performance by caching frequently requested values.