How can I change Long to Integer?
Integer i = theLong != null ? theLong.intValue() : null;
You can do it this way, or if you don't have to worry about null, you can do it as below.
Integer i = (int) (long) theLong;
548 Scrap text information after the "View More" button when searching in the Yahoo! News search window
539 Understanding How to Configure Google API Key
538 PHP ssh2_scp_send fails to send files as intended
535 Unable to install versioned in Google Colab
538 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.