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, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
rootComponent
-
componentStack
-
-
Constructor Details
-
DataIterator
-
-
Method Details
-
reset
public void reset() -
next
- Specified by:
next
in interfaceIterator<DataComponent>
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<DataComponent>
-
skipChildren
public void skipChildren() -
remove
public void remove()- Specified by:
remove
in interfaceIterator<DataComponent>
-
iterator
- Specified by:
iterator
in interfaceIterable<DataComponent>
-