public static class LoopTool.SyncedIterator
extends java.lang.Object
LoopTool.ManagedIterator
.Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
current |
private java.util.Iterator |
iterator |
Constructor and Description |
---|
SyncedIterator(java.util.Iterator iterator) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get()
Returns the currently parallel value, if any.
|
void |
shift()
If the sync'ed iterator has any more values,
this sets the next() value as the current one.
|
Copyright (c) 2003-2007 Apache Software Foundation