public class StringParser extends Object
| Constructor and Description |
|---|
StringParser(String input) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Checks whether there are more tokens available in the string.
|
String |
next()
Retrieves the next available token and advances further.
|
String |
peek()
Retrieves the next available token, but does not advance the further, so multiple
calls to peek() return the same value.
|
@Nullable public String peek()
public boolean hasNext()
Copyright © 2020. All rights reserved.