|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.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 useMethod Detail |
---|
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public void remove()
remove
in interface java.util.Iterator
Iterator.remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |