long to an integer code example
Example: java long to integer
// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;
// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;