public class IteratorCounter2Impl extends java.lang.Object implements IteratorCounter2
Constructor and Description |
---|
IteratorCounter2Impl(java.util.List<StringLocated> data) |
Modifier and Type | Method and Description |
---|---|
IteratorCounter2 |
cloneMe() |
void |
copyStateFrom(IteratorCounter2 other) |
int |
currentNum() |
java.util.List<StringLocated> |
getTrace() |
boolean |
hasNext() |
StringLocated |
next() |
StringLocated |
peek() |
StringLocated |
peekPrevious() |
void |
remove() |
public IteratorCounter2Impl(java.util.List<StringLocated> data)
public void copyStateFrom(IteratorCounter2 other)
copyStateFrom
in interface IteratorCounter2
public IteratorCounter2 cloneMe()
cloneMe
in interface IteratorCounter2
public int currentNum()
currentNum
in interface IteratorCounter2
public boolean hasNext()
hasNext
in interface java.util.Iterator<StringLocated>
public StringLocated next()
next
in interface java.util.Iterator<StringLocated>
public StringLocated peek()
peek
in interface IteratorCounter2
public StringLocated peekPrevious()
peekPrevious
in interface IteratorCounter2
public void remove()
remove
in interface java.util.Iterator<StringLocated>
public final java.util.List<StringLocated> getTrace()
getTrace
in interface IteratorCounter2