soot.jimple.spark.ondemand.genericutil
Class IteratorMapper<T,U>

java.lang.Object
  extended by soot.jimple.spark.ondemand.genericutil.IteratorMapper<T,U>
All Implemented Interfaces:
Iterator<U>

public class IteratorMapper<T,U>
extends Object
implements Iterator<U>


Constructor Summary
IteratorMapper(Mapper<T,U> mapper, Iterator<T> delegate)
           
 
Method Summary
 boolean hasNext()
           
 U next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorMapper

public IteratorMapper(Mapper<T,U> mapper,
                      Iterator<T> delegate)
Method Detail

hasNext

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

next

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

remove

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