soot.jimple.toolkits.callgraph
Class Filter

java.lang.Object
  extended by soot.jimple.toolkits.callgraph.Filter
All Implemented Interfaces:
Iterator<Edge>

public class Filter
extends Object
implements Iterator<Edge>

Represents a subset of the edges in a call graph satisfying an EdgePredicate predicate.

Author:
Ondrej Lhotak

Constructor Summary
Filter(EdgePredicate pred)
           
 
Method Summary
 boolean hasNext()
           
 Edge next()
           
 void remove()
           
 Iterator<Edge> wrap(Iterator<Edge> source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter(EdgePredicate pred)
Method Detail

wrap

public Iterator<Edge> wrap(Iterator<Edge> source)

hasNext

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

next

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

remove

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