source
and target
to the graph. Graph does not accept parallel edges. Fails if a such edge already exists in the graph.
@param source the source node
@param target the target node
@return true if add is successful, false otherwise
@throws IllegalArgumentException if source
or target
is null
or not legal nodes for this edge
@throws IllegalMonitorStateException if the current thread is holding a read lock
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|