|
|||||||||||
| 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.UniqueExtendedIterator
A variant on the closable/extended iterator that filters out duplicate values. There is one complication that the value which filtering is done on might not be the actual value to be returned by the iterator.
| Constructor Summary | |
UniqueExtendedIterator(java.util.Iterator underlying)
constructor |
|
| Method Summary | |
boolean |
hasNext()
hasNext: defer to the base iterator |
java.lang.Object |
next()
next: defer to the base iterator |
| Methods inherited from class com.hp.hpl.jena.util.iterator.WrappedIterator |
close, close, create, remove |
| Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
andThen, andThen, filterDrop, filterKeep, mapWith |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UniqueExtendedIterator(java.util.Iterator underlying)
| Method Detail |
public boolean hasNext()
WrappedIterator
hasNext in interface java.util.IteratorhasNext in class WrappedIteratorIterator.hasNext()public java.lang.Object next()
WrappedIterator
next in interface java.util.Iteratornext in class WrappedIteratorIterator.next()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||