| Constructor and Description | 
|---|
| Tokenizer(Scanner scanner,
         Set<Integer> indices,
         boolean keep)Create a new  Tokenizerinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNext()Returns true if the underlying  Scannerhas any tokens remaining. | 
| String | next()Advance this  Tokenizerand return the next String from theScanner. | 
| Boolean | nextBoolean()Advance this  Tokenizerand return the next Boolean from theScanner. | 
| Double | nextDouble()Advance this  Tokenizerand return the next Double from theScanner. | 
| Float | nextFloat()Advance this  Tokenizerand return the next Float from theScanner. | 
| Integer | nextInt()Advance this  Tokenizerand return the next Integer from theScanner. | 
| Long | nextLong()Advance this  Tokenizerand return the next Long from theScanner. | 
public boolean hasNext()
Scanner has any tokens remaining.public String next()
Tokenizer and return the next String from the Scanner.Scannerpublic Long nextLong()
Tokenizer and return the next Long from the Scanner.Scannerpublic Boolean nextBoolean()
Tokenizer and return the next Boolean from the Scanner.Scannerpublic Double nextDouble()
Tokenizer and return the next Double from the Scanner.Scannerpublic Float nextFloat()
Tokenizer and return the next Float from the Scanner.Scannerpublic Integer nextInt()
Tokenizer and return the next Integer from the Scanner.ScannerCopyright © 2017 The Apache Software Foundation. All rights reserved.