Package com.ibm.wala.util.graph
Class Path
- java.lang.Object
-
- com.ibm.wala.util.intset.SimpleIntVector
-
- com.ibm.wala.util.graph.Path
-
- All Implemented Interfaces:
IntVector,java.io.Serializable
public class Path extends SimpleIntVector
We represent a path in a numbered graph as a vector of integers <i_1, ..., i_n> where node i_1 is the src and node i_n is the sink- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()static Pathmake(int value)static Pathprepend(int x, Path p)intsize()java.lang.StringtoString()-
Methods inherited from class com.ibm.wala.util.intset.SimpleIntVector
get, getMaxIndex, performVerboseAction, set
-
-
-
-
Method Detail
-
make
public static Path make(int value)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
size
public int size()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-