DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
long to int java 8
import static java.lang.Math.toIntExact; long foo = 10L; int bar = toIntExact(foo);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#long
#int
#java
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit