|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--xxl.visual.VisualIterator
|
+--xxl.visual.VisualPeekIterator
This class extends xxl.visual.VisualIterator with the peek()-functionality.
| Inner classes inherited from class xxl.visual.VisualIterator |
VisualIterator.IteratorFunction |
| Fields inherited from class xxl.visual.VisualIterator |
children,
inputOf,
iterator,
newIterator,
parameters |
| Constructor Summary | |
VisualPeekIterator(VisualIterator.IteratorFunction newPeekIterator)
|
|
| Method Summary | |
java.lang.Object |
peek()
Shows the next element in the iteration without removing it. |
boolean |
supportsPeek()
Returns true if the peek operation is supported by this PeekIterator. |
| Methods inherited from class xxl.visual.VisualIterator |
addInput,
getParameters,
hasNext,
next,
open,
remove,
removeInput,
setParameters |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public VisualPeekIterator(VisualIterator.IteratorFunction newPeekIterator)
| Method Detail |
public java.lang.Object peek()
throws java.util.NoSuchElementException,
java.lang.UnsupportedOperationException
public boolean supportsPeek()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||