hasnextline