|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manage a dependency graph between object.
Method Summary | |
boolean |
addVertex(java.lang.Object src,
java.lang.Object dst)
Add a vertex between to task. |
int |
addVertexes(java.lang.Object src,
java.util.List dsts)
Add a vertex between a task and a list of other. |
java.util.Map |
getVertexes()
|
void |
removeVertex(java.lang.Object src,
java.lang.Object dst)
Removes the vertex/dependency between two tasks. |
void |
removeVertexes(java.util.List srcs,
java.lang.Object dst)
Removes the vertexes/dependencies between a list of tasks and another. |
void |
removeVertexes(java.lang.Object src,
java.util.List dst)
Removes the vertexes/dependencies between a task and a list of others. |
Method Detail |
public boolean addVertex(java.lang.Object src, java.lang.Object dst)
src
- is the source of the vertexdst
- is the target of the vertex
public int addVertexes(java.lang.Object src, java.util.List dsts)
src
- is the source of the vertex
public void removeVertex(java.lang.Object src, java.lang.Object dst)
src
- is the source of the vertexdst
- is the target of the vertexpublic void removeVertexes(java.util.List srcs, java.lang.Object dst)
srcs
- is the list of sources of the vertexesdst
- is the target of the vertexespublic void removeVertexes(java.lang.Object src, java.util.List dst)
dst
- is the list of targets of the vertexespublic java.util.Map getVertexes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |