|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
de.pado.dv.Path
public class Path
A Path is a list of Edges.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Path()
Initialises an empty path. |
|
Path(java.lang.String s)
Constructs a Path from a string representation of a path |
|
| Method Summary | |
|---|---|
void |
addEdge(Edge e)
Add an Edge to a Path |
java.util.HashSet |
relSet()
Returns the set of all relations on the Path. |
java.lang.String |
toString()
Returns a string representation of a Path: Edge1=Edge2=... |
java.util.Set |
yield()
returns the set of all nodes which are touched by the Path. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public Path(java.lang.String s)
public Path()
| Method Detail |
|---|
public void addEdge(Edge e)
public java.util.Set yield()
public java.util.HashSet relSet()
public java.lang.String toString()
toString in class java.util.AbstractCollection
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||