|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.util.collections.AbstractLiteralIterator prefuse.util.collections.IntIterator prefuse.data.util.FilterRowIterator
public class FilterRowIterator
Iterator over table rows that filters the output by a given predicate. For each table row, the corresponding tuple is checked against the predicate. Only rows whose tuples pass the filter are included in this iteration.
Constructor Summary | |
---|---|
FilterRowIterator(IntIterator rows,
Table t,
Predicate p)
Create a new FilterRowIterator. |
Method Summary | |
---|---|
boolean |
hasNext()
|
int |
nextInt()
|
void |
remove()
Not supported. |
Methods inherited from class prefuse.util.collections.IntIterator |
---|
isDoubleSupported, isFloatSupported, isIntSupported, isLongSupported, next, nextDouble, nextFloat, nextLong |
Methods inherited from class prefuse.util.collections.AbstractLiteralIterator |
---|
isBooleanSupported, nextBoolean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterRowIterator(IntIterator rows, Table t, Predicate p)
rows
- an iterator over table rowst
- the whos rows are being iterated overp
- the filter predicate to useMethod Detail |
---|
public int nextInt()
nextInt
in interface LiteralIterator
nextInt
in class IntIterator
LiteralIterator.nextInt()
public boolean hasNext()
Iterator.hasNext()
public void remove()
Iterator.remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |