|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Graph.Node<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>
This class represents nodes in a Graph
.
Method Summary | |
---|---|
boolean |
isPred(N n)
Return true iff the given node is a predecessor of this node. |
boolean |
isSucc(N n)
Return true iff the given node is a successor of this node. |
Collection<E> |
predC()
Return a collection of edges leading to this node. |
Collection<E> |
succC()
Return a collection of edges leaving this node. |
Method Detail |
---|
Collection<E> predC()
Collection<E> succC()
boolean isSucc(N n)
boolean isPred(N n)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |