Package org.vast.data
Class DataIterator
java.lang.Object
org.vast.data.DataIterator
- All Implemented Interfaces:
 Iterable<DataComponent>,Iterator<DataComponent>
- Direct Known Subclasses:
 ScalarIterator
public class DataIterator
extends Object
implements Iterator<DataComponent>, Iterable<DataComponent>
This iterator will go through all components recursively. This does not iterate through each array value.
- Since:
 - Sep 19, 2013
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining 
- 
Field Details
- 
rootComponent
 - 
componentStack
 
 - 
 - 
Constructor Details
- 
DataIterator
 
 - 
 - 
Method Details
- 
reset
public void reset() - 
next
- Specified by:
 nextin interfaceIterator<DataComponent>
 - 
hasNext
public boolean hasNext()- Specified by:
 hasNextin interfaceIterator<DataComponent>
 - 
skipChildren
public void skipChildren() - 
remove
public void remove()- Specified by:
 removein interfaceIterator<DataComponent>
 - 
iterator
- Specified by:
 iteratorin interfaceIterable<DataComponent>
 
 -