- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for addSuccessor (0.05 seconds)
-
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
return adjacentNodeValues.remove(node); } @Override public void addPredecessor(N node, V value) { @SuppressWarnings("unused") V unused = addSuccessor(node, value); } @Override public @Nullable V addSuccessor(N node, V value) { return adjacentNodeValues.put(node, value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
* becomes a predecessor. Associates {@code value} with the edge connecting the two nodes. Returns * the value previously associated with the edge connecting the two nodes. */ @CanIgnoreReturnValue @Nullable V addSuccessor(N node, V value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
if (orderedNodeConnections != null) { orderedNodeConnections.add(new NodeConnection.Pred<>(node)); } } } @SuppressWarnings("unchecked") @Override public @Nullable V addSuccessor(N node, V value) { Object previousValue = adjacentNodeValues.put(node, value); Object previousSuccessor; if (previousValue == null) { previousSuccessor = null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
} GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU); if (connectionsU == null) { connectionsU = addNodeInternal(nodeU); } V previousValue = connectionsU.addSuccessor(nodeV, value); GraphConnections<N, V> connectionsV = nodeConnections.get(nodeV); if (connectionsV == null) { connectionsV = addNodeInternal(nodeV); } connectionsV.addPredecessor(nodeU, value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0)