serp.util
Class LookaheadIterator.ItrValue
java.lang.Object
|
+--serp.util.LookaheadIterator.ItrValue
- Enclosing class:
- LookaheadIterator
- public static class LookaheadIterator.ItrValue
- extends Object
This struct holds information about an item to return
from the iterator. Instances can be modified directly to change the
value that will be returned from iteration or to mark it invalid.
Field Summary |
boolean |
valid
If true, the above item is valid; if false, it is not and will
be skipped during iteration. |
Object |
value
The item to return during iteration. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public Object value
- The item to return during iteration.
valid
public boolean valid
- If true, the above item is valid; if false, it is not and will
be skipped during iteration.
LookaheadIterator.ItrValue
public LookaheadIterator.ItrValue()
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.