Hasnext para a classe Scanner Java

Scanner in = new Scanner(System.in);
//after taking multiple values to go through the number of times values taken
in.hasNext();
Nervous Newt