Class Scanner
- java.lang.Object
- 
- edu.odu.cs.zeil.codegrader.oracle.Scanner
 
- 
 public class Scanner extends java.lang.ObjectScanner used to break outputs (actual and expected) into discrete tokens.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tokennext()Advance to the next token.
 
- 
- 
- 
Constructor Detail- 
Scannerpublic Scanner(java.lang.String input, Oracle settings)Create a scanner.- Parameters:
- input- the string to be divided into tokens
- settings- Settings affecting the way that tokens are generated.
 
 
- 
 - 
Method Detail- 
hasNextpublic boolean hasNext() - Returns:
- true iff there are more tokens to be found.
 
 - 
nextpublic Token next() Advance to the next token.- Returns:
- the current token, before advancing.
 
 
- 
 
-