public static Integer toNullableInteger ( Object value ) { Long result = LongConverter . toNullableLong ( value ) ; return result != null ? ( int ) ( ( long ) result ) : null ; }
Converts value into integer or returns null when conversion is not possible .