Package net.sourceforge.plantuml.version
Class IteratorCounter2Impl
- java.lang.Object
-
- net.sourceforge.plantuml.version.IteratorCounter2Impl
-
- All Implemented Interfaces:
Iterator<StringLocated>
,IteratorCounter2
public class IteratorCounter2Impl extends Object implements IteratorCounter2
-
-
Constructor Summary
Constructors Constructor Description IteratorCounter2Impl(List<StringLocated> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratorCounter2
cloneMe()
void
copyStateFrom(IteratorCounter2 other)
int
currentNum()
List<StringLocated>
getTrace()
boolean
hasNext()
StringLocated
next()
StringLocated
peek()
StringLocated
peekPrevious()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
IteratorCounter2Impl
public IteratorCounter2Impl(List<StringLocated> data)
-
-
Method Detail
-
copyStateFrom
public void copyStateFrom(IteratorCounter2 other)
- Specified by:
copyStateFrom
in interfaceIteratorCounter2
-
cloneMe
public IteratorCounter2 cloneMe()
- Specified by:
cloneMe
in interfaceIteratorCounter2
-
currentNum
public int currentNum()
- Specified by:
currentNum
in interfaceIteratorCounter2
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<StringLocated>
-
next
public StringLocated next()
- Specified by:
next
in interfaceIterator<StringLocated>
-
peek
public StringLocated peek()
- Specified by:
peek
in interfaceIteratorCounter2
-
peekPrevious
public StringLocated peekPrevious()
- Specified by:
peekPrevious
in interfaceIteratorCounter2
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<StringLocated>
-
getTrace
public final List<StringLocated> getTrace()
- Specified by:
getTrace
in interfaceIteratorCounter2
-
-