Easiest thing would be to return; if a match is found and add a System.out.println("Nothing found"); after the foreach -loop.
確定! 回上一頁