Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私がやろうとしているのは、ファイルから読み取るときに、改行を含む行をスキップして次の行に移動したいということです。どうすればこれを達成できますか?以下のコードは機能していないようです。
if(!inputStream.nextLine().contains("\n")) { ... }