If the Star Model F is in good condition and operates properly in all respects, and if you want a .22 rimfire pistol, my suggestion is that you keep it. The Star is of better quality than a Hi-Point.
If you prefer a 9mm pistol, and can put up with a reliable, accurate gun that will not last very long, then I suppose that you could make the trade.
Hi-Point pistols are made of soft, non-ferrous, die-cast metal, and are not known for their longevity. People who own them say that they work well, though.