soot.toolkits.scalar
Interface FlowUniverse

All Known Implementing Classes:
ArrayFlowUniverse, CollectionFlowUniverse

public interface FlowUniverse

Provides an interface of a flow universe, used by an implementation of BoundedFlowSet to do complementation.


Method Summary
 java.util.Iterator iterator()
          returns an iterator over the elements of the universe.
 int size()
          returns the number of elements of the universe.
 java.lang.Object[] toArray()
          returns the elements of the universe in form of an array.
The returned array could be backed or not.
 

Method Detail

size

public int size()
returns the number of elements of the universe.
Returns:
the size of the universe.

iterator

public java.util.Iterator iterator()
returns an iterator over the elements of the universe.
Returns:
an Iterator over the elements.

toArray

public java.lang.Object[] toArray()
returns the elements of the universe in form of an array.
The returned array could be backed or not. If you want to be sure that it is unbacked, clone() it.
Returns:
the elements of the universe.