public static Long toLong(String str) throws PageException {
  return Long.valueOf(toLongValue(str));
}

public static Long toLong ( String str ) throws PageException { return Long . valueOf ( toLongValue ( str ) ) ; }
cast a object to a long object ( reference type )
