|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.util.iterator.NiceIterator
com.hp.hpl.jena.util.iterator.WrappedIterator
com.hp.hpl.jena.util.iterator.FilterIterator
public class FilterIterator
Creates a sub-Iterator by filtering.
| Constructor Summary | |
|---|---|
FilterIterator(Filter fl,
Iterator e)
Creates a sub-Iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Are there any more acceptable objects. |
Object |
next()
The next acceptable object in the iterator. |
void |
remove()
remove's the member from the underlying Iterator;
hasNext() may not be called between calls to
next() and remove(). |
| Methods inherited from class com.hp.hpl.jena.util.iterator.WrappedIterator |
|---|
close, close, create, createNoRemove |
| Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
|---|
andThen, andThen, filterDrop, filterKeep, mapWith, removeNext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterIterator(Filter fl,
Iterator e)
fl - An object is included if it is accepted by this Filter.e - The parent Iterator.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface IteratorhasNext in class WrappedIteratorpublic void remove()
Iterator;
hasNext() may not be called between calls to
next() and remove().
remove in interface Iteratorremove in class WrappedIteratorpublic Object next()
next in interface Iteratornext in class WrappedIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||