Hasnext para la clase de escáner Java

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