public interface PushbackSequence<T>
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Determine if this sequence has another element.
|
int |
index()
Get the current index of the PushbackString.
|
void |
mark()
Mark the location of the current index.
|
T |
next()
Return the next element in the Sequence and increment the current index.
|
T |
nextHex()
Return the next element in the Sequence in Hex format and increment the current index.
|
T |
nextOctal()
Return the next element in the Sequence in Octal format and increment the current index.
|
T |
peek()
Return the next element in the Sequence without affecting the current index.
|
boolean |
peek(T c)
Test to see if the next element in the Sequence matches the supplied value without affecting the current index.
|
void |
pushback(T c) |
String |
remainder()
Not at all sure what this method is intended to do.
|
void |
reset()
Set the index back to the last marked location.
|
void pushback(T c)
c
- int index()
boolean hasNext()
T next()
T nextHex()
T nextOctal()
T peek()
boolean peek(T c)
c
- The value to match against.void mark()
void reset()
String remainder()
Copyright © 2022 The Open Web Application Security Project (OWASP). All rights reserved.