question: private Number parseInt ( String value ) { Long l = Long . valueOf ( value ) ; if ( l . intValue ( ) == l ) { return l . intValue ( ) ; } return l ; }
target:  Parses a string into a Long or Integer depending on size.