public static int getInt(Long l) {
        return (l == null || l > Integer.MAX_VALUE) ? 0 : l.intValue();
    }
public static int getInt ( Long l ) { return ( l == null || l > Integer . MAX_VALUE ) ? 0 : l . intValue ( ) ; }
Converts packing Long Int

@param l the object representation
@return the primitive representation