private class IntervalsSet.SubIntervalsIterator
extends java.lang.Object
implements java.util.Iterator<double[]>
Modifier and Type | Field and Description |
---|---|
private BSPTree<Euclidean1D> |
current
Current node.
|
private double[] |
pending
Sub-interval no yet returned.
|
Constructor and Description |
---|
SubIntervalsIterator()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
double[] |
next() |
void |
remove() |
private void |
selectPending()
Walk the tree to select the pending sub-interval.
|
private BSPTree<Euclidean1D> current
private double[] pending
private void selectPending()
public boolean hasNext()
hasNext
in interface java.util.Iterator<double[]>
public double[] next()
next
in interface java.util.Iterator<double[]>
public void remove()
remove
in interface java.util.Iterator<double[]>
Copyright (c) 2003-2016 Apache Software Foundation