Returns the operation (node in the Graph) with the provided name. Or null if no such operation exists in the Graph.
(String name)
| 69 | * <p>Or {@code null} if no such operation exists in the Graph. |
| 70 | */ |
| 71 | public GraphOperation operation(String name) { |
| 72 | synchronized (nativeHandleLock) { |
| 73 | long oph = operation(nativeHandle, name); |
| 74 | if (oph == 0) { |
| 75 | return null; |
| 76 | } |
| 77 | return new GraphOperation(this, oph); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Iterator over all the {@link Operation}s in the graph. |
no outgoing calls