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 IteratorCounter2cloneMe()voidcopyStateFrom(IteratorCounter2 other)intcurrentNum()List<StringLocated>getTrace()booleanhasNext()StringLocatednext()StringLocatedpeek()StringLocatedpeekPrevious()voidremove()-
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:
copyStateFromin interfaceIteratorCounter2
-
cloneMe
public IteratorCounter2 cloneMe()
- Specified by:
cloneMein interfaceIteratorCounter2
-
currentNum
public int currentNum()
- Specified by:
currentNumin interfaceIteratorCounter2
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<StringLocated>
-
next
public StringLocated next()
- Specified by:
nextin interfaceIterator<StringLocated>
-
peek
public StringLocated peek()
- Specified by:
peekin interfaceIteratorCounter2
-
peekPrevious
public StringLocated peekPrevious()
- Specified by:
peekPreviousin interfaceIteratorCounter2
-
remove
public void remove()
- Specified by:
removein interfaceIterator<StringLocated>
-
getTrace
public final List<StringLocated> getTrace()
- Specified by:
getTracein interfaceIteratorCounter2
-
-