com.hp.hpl.jena.util.iterator
Class FilterKeepIterator<T>

java.lang.Object
  extended by com.hp.hpl.jena.util.iterator.NiceIterator<T>
      extended by com.hp.hpl.jena.util.iterator.WrappedIterator<T>
          extended by com.hp.hpl.jena.util.iterator.FilterIterator<T>
              extended by com.hp.hpl.jena.util.iterator.FilterKeepIterator<T>
All Implemented Interfaces:
ClosableIterator<T>, ExtendedIterator<T>, java.util.Iterator<T>
Direct Known Subclasses:
TripleMatchIterator

public class FilterKeepIterator<T>
extends FilterIterator<T>
implements java.util.Iterator<T>

A subclass of FilterIterator which keeps the elements that pass the test.

Author:
kers

Constructor Summary
FilterKeepIterator(Filter<T> f, java.util.Iterator<T> it)
           
 
Method Summary
 
Methods inherited from class com.hp.hpl.jena.util.iterator.FilterIterator
hasNext, next, remove
 
Methods inherited from class com.hp.hpl.jena.util.iterator.WrappedIterator
close, close, create, createNoRemove, forTestingOnly_getBase
 
Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

FilterKeepIterator

public FilterKeepIterator(Filter<T> f,
                          java.util.Iterator<T> it)


Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP