Class LoopTool.SyncedIterator
- java.lang.Object
-
- org.apache.velocity.tools.generic.LoopTool.SyncedIterator
-
- Enclosing class:
- LoopTool
public static class LoopTool.SyncedIterator extends java.lang.ObjectSimple wrapper to make it easy to keep an arbitray Iterator in sync with aLoopTool.ManagedIterator.
-
-
Constructor Summary
Constructors Constructor Description SyncedIterator(java.util.Iterator iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget()voidshift()If the sync'ed iterator has any more values, this sets the next() value as the current one.
-