|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.gt.data.FastLinkedList<GraphAnalyzer.IndexedList>
ptolemy.actor.gt.GraphAnalyzer.IndexedLists
ptolemy.actor.gt.GraphAnalyzer.Path
public static class GraphAnalyzer.Path
A path between two ports.
Red (tfeng) |
Yellow (tfeng) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.actor.gt.data.FastLinkedList |
---|
FastLinkedList.Entry |
Field Summary | |
---|---|
private Port |
_startPort
The start port. |
Constructor Summary | |
---|---|
GraphAnalyzer.Path(Port startPort)
Construct a path, which has 0 length, with only a start port. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone this path and return a new path containing the same entries between the same pair of ports. |
boolean |
equals(java.lang.Object object)
Test the equivalence between two paths. |
Port |
getEndPort()
Get the end port of this path. |
Port |
getStartPort()
Get the start port of this path. |
int |
hashCode()
Return the hash code of this path, which is a combination of the start port's hash code and a hash code computed with all the entries inside. |
java.lang.String |
toString()
Return a string that describes this path. |
Methods inherited from class ptolemy.actor.gt.data.FastLinkedList |
---|
add, addAll, addEntryAfter, addEntryBefore, addEntryToHead, addEntryToTail, clear, contains, containsAll, findEntry, getHead, getTail, isEmpty, iterator, remove, removeAll, removeAllAfter, removeAllBefore, retainAll, size, toArray, toArray |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Port _startPort
Constructor Detail |
---|
GraphAnalyzer.Path(Port startPort)
startPort
- The start port.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in interface java.util.Collection<GraphAnalyzer.IndexedList>
equals
in class java.lang.Object
object
- The object to be tested.
public Port getEndPort()
public Port getStartPort()
public int hashCode()
hashCode
in interface java.util.Collection<GraphAnalyzer.IndexedList>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |