Hasnext pour la classe de 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