- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ValueGraphBuilder (0.11 sec)
-
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
*/ @Beta @ElementTypesAreNonnullByDefault public final class ValueGraphBuilder<N, V> extends AbstractGraphBuilder<N> { /** Creates a new instance with the specified edge directionality. */ private ValueGraphBuilder(boolean directed) { super(directed); } /** Returns a {@link ValueGraphBuilder} for building directed graphs. */ public static ValueGraphBuilder<Object, Object> directed() { return new ValueGraphBuilder<>(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
} /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true) .<String>nodeOrder(ElementOrder.<String>natural());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
} /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true) .<String>nodeOrder(ElementOrder.<String>natural());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
@ElementTypesAreNonnullByDefault public final class ImmutableValueGraph<N, V> extends StandardValueGraph<N, V> { private ImmutableValueGraph(ValueGraph<N, V> graph) { super(ValueGraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()); } /** Returns an immutable copy of {@code graph}. */ public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A = GraphBuilder.directed().expectedNodeCount(10); private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B = ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16); private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A = GraphBuilder.directed().<String>immutable().addNode("A").build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
@ElementTypesAreNonnullByDefault public final class ImmutableValueGraph<N, V> extends StandardValueGraph<N, V> { private ImmutableValueGraph(ValueGraph<N, V> graph) { super(ValueGraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()); } /** Returns an immutable copy of {@code graph}. */ public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A = GraphBuilder.directed().expectedNodeCount(10); private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B = ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16); private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A = GraphBuilder.directed().<String>immutable().addNode("A").build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0)