org.apache.jackrabbit.commons.flat
Class FilterIterator<T>

java.lang.Object
  extended by org.apache.jackrabbit.commons.iterator.FilterIterator<T>
      extended by org.apache.jackrabbit.commons.flat.FilterIterator<T>
Type Parameters:
T -
All Implemented Interfaces:
Iterator<T>

Deprecated. use FilterIterator

public class FilterIterator<T>
extends FilterIterator<T>

Iterator filtering out items which do not match a given predicate.


Constructor Summary
FilterIterator(Iterator<T> tIterator, Predicate predicate)
          Deprecated. Create a new filtered iterator based on the given iterator.
 
Method Summary
 
Methods inherited from class org.apache.jackrabbit.commons.iterator.FilterIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterIterator

public FilterIterator(Iterator<T> tIterator,
                      Predicate predicate)
Deprecated. 
Create a new filtered iterator based on the given iterator.

Parameters:
tIterator - iterator to filter
predicate - only item matching this predicate are included


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.