org.archive.wayback.util
Class ObjectFilterIterator<T>

java.lang.Object
  extended by org.archive.wayback.util.ObjectFilterIterator<T>
All Implemented Interfaces:
Closeable, Iterator<T>, CloseableIterator<T>

public class ObjectFilterIterator<T>
extends Object
implements CloseableIterator<T>

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

Constructor Summary
ObjectFilterIterator(CloseableIterator<T> itr, ObjectFilter<T> filter)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFilterIterator

public ObjectFilterIterator(CloseableIterator<T> itr,
                            ObjectFilter<T> filter)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

close

public void close()
Specified by:
close in interface Closeable

next

public T next()
Specified by:
next in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>


Copyright © 2005-2011 Internet Archive. All Rights Reserved.