com.ibm.wala.util.graph
Class Path

java.lang.Object
  extended by com.ibm.wala.util.intset.SimpleIntVector
      extended by com.ibm.wala.util.graph.Path
All Implemented Interfaces:
IntVector

public class Path
extends SimpleIntVector

We represent a path in a numbered graph as a vector of integers where node i_1 is the src and node i_n is the sink


Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
static Path make(int value)
           
static Path prepend(int x, Path p)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.util.intset.SimpleIntVector
get, getMaxIndex, performVerboseAction, set
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

make

public static Path make(int value)

prepend

public static Path prepend(int x,
                           Path p)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

size

public int size()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object