Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java long to integer

// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #long #integer
ADD COMMENT
Topic
Name
6+8 =