Class IntervalsSet.SubIntervalsIterator
java.lang.Object
org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet.SubIntervalsIterator
- All Implemented Interfaces:
Iterator<double[]>
- Enclosing class:
IntervalsSet
Local iterator for sub-intervals.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BSPTree
<Euclidean1D> Current node.private double[]
Sub-interval no yet returned. -
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.util.Iterator
forEachRemaining
-
Field Details
-
current
Current node. -
pending
private double[] pendingSub-interval no yet returned.
-
-
Constructor Details
-
SubIntervalsIterator
SubIntervalsIterator()Simple constructor.
-
-
Method Details
-
selectPending
private void selectPending()Walk the tree to select the pending sub-interval. -
hasNext
public boolean hasNext() -
next
public double[] next() -
remove
public void remove()
-