|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.util.FilterIterator
public class FilterIterator
Iterator over tuples that filters the output by a given predicate.
| Constructor Summary | |
|---|---|
FilterIterator(java.util.Iterator tuples,
Predicate p)
Create a new FilterIterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterIterator(java.util.Iterator tuples,
Predicate p)
tuples - an iterator over tuplesp - the filter predicate to use| Method Detail |
|---|
public java.lang.Object next()
next in interface java.util.IteratorIterator.next()public boolean hasNext()
hasNext in interface java.util.IteratorIterator.hasNext()public void remove()
remove in interface java.util.IteratorIterator.remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||