- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 56 for AddNode (0.33 seconds)
-
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
} @Override public ElementOrder<N> incidentEdgeOrder() { return incidentEdgeOrder; } @Override @CanIgnoreReturnValue public boolean addNode(N node) { checkNotNull(node, "node"); if (containsNode(node)) { return false; } addNodeInternal(node); return true; } /**
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) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
.nodeOrder(nodeOrder) .edgeOrder(edgeOrder) .immutable(); return networkBuilder.build(); } @Override void addNode(Integer n) { networkBuilder.addNode(n); network = networkBuilder.build(); } @Override void addEdge(Integer n1, Integer n2, String e) { networkBuilder.addEdge(n1, n2, e); network = networkBuilder.build(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* element, or at the end of the list if {@code nextSibling} is null. Note: if {@code nextSibling} * is specified, it MUST be for a node for the same {@code key}! */ @CanIgnoreReturnValue private Node<K, V> addNode( @ParametricNullness K key, @ParametricNullness V value, @Nullable Node<K, V> nextSibling) { Node<K, V> node = new Node<>(key, value); if (head == null) { // empty list head = tail = node;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
* element, or at the end of the list if {@code nextSibling} is null. Note: if {@code nextSibling} * is specified, it MUST be for a node for the same {@code key}! */ @CanIgnoreReturnValue private Node<K, V> addNode( @ParametricNullness K key, @ParametricNullness V value, @Nullable Node<K, V> nextSibling) { Node<K, V> node = new Node<>(key, value); if (head == null) { // empty list head = tail = node;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
mutableNetwork.addNode("A"); ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork); assertThat(immutableNetwork).isNotInstanceOf(MutableNetwork.class); assertThat(immutableNetwork).isEqualTo(mutableNetwork); mutableNetwork.addNode("B"); assertThat(immutableNetwork).isNotEqualTo(mutableNetwork); } @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
mutableValueGraph.addNode("A"); ImmutableValueGraph<String, Integer> immutableValueGraph = ImmutableValueGraph.copyOf(mutableValueGraph); assertThat(immutableValueGraph).isNotInstanceOf(MutableValueGraph.class); assertThat(immutableValueGraph).isEqualTo(mutableValueGraph); mutableValueGraph.addNode("B"); assertThat(immutableValueGraph).isNotEqualTo(mutableValueGraph);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
} throw new IllegalStateException("Unexpected edge type: " + edgeType); } @Test public void equivalent_nodeSetsDiffer() { network.addNode(N1); MutableNetwork<Integer, String> g2 = createNetwork(edgeType); g2.addNode(N2); assertThat(network).isNotEqualTo(g2); } // Node sets are the same, but edge sets differ. @Test public void equivalent_edgeSetsDiffer() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
} throw new IllegalStateException("Unexpected edge type: " + edgeType); } @Test public void equivalent_nodeSetsDiffer() { network.addNode(N1); MutableNetwork<Integer, String> g2 = createNetwork(edgeType); g2.addNode(N2); assertThat(network).isNotEqualTo(g2); } // Node sets are the same, but edge sets differ. @Test public void equivalent_edgeSetsDiffer() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0)