- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for graphBuilder (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
} /** * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableGraphBuilder_copiesGraphBuilder() { GraphBuilder<String> graphBuilder = GraphBuilder.directed() .allowsSelfLoops(true) .<String>nodeOrder(ElementOrder.<String>natural());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphMutationTest.java
@Test public void directedGraph() { testGraphMutation(GraphBuilder.directed()); } @Test public void undirectedGraph() { testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java
private ImmutableGraph.Builder<Integer> graphBuilder; public StandardImmutableDirectedGraphTest(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; } @Override public Graph<Integer> createGraph() { graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); return graphBuilder.build(); } @Override final void addNode(Integer n) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java
private ImmutableGraph.Builder<Integer> graphBuilder; public StandardImmutableUndirectedGraphTest(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; } @Override public Graph<Integer> createGraph() { graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); return graphBuilder.build(); } @Override final void addNode(Integer n) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true) .<String>nodeOrder(ElementOrder.<String>natural()); ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder = graphBuilder.<String, Integer>immutable();
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) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
LegacySupport legacySupport, SessionScope sessionScope, RepositorySystemSessionFactory repositorySessionFactory, @Named(GraphBuilder.HINT) GraphBuilder graphBuilder, BuildResumptionAnalyzer buildResumptionAnalyzer, BuildResumptionDataRepository buildResumptionDataRepository, SuperPomProvider superPomProvider,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 29 10:43:38 GMT 2025 - 28.8K bytes - Click Count (1) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
*/ public static class Builder<N> { private final MutableGraph<N> mutableGraph; Builder(GraphBuilder<N> graphBuilder) { // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to // modify this builder, so we make a copy instead. this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
@Test public void directedGraph() { testGraphMutation(GraphBuilder.directed()); } @Test public void undirectedGraph() { testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true) .<String>nodeOrder(ElementOrder.<String>natural()); ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder = graphBuilder.<String, Integer>immutable();
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/GraphEquivalenceTest.java
} private static MutableGraph<Integer> createGraph(EdgeType edgeType) { switch (edgeType) { case UNDIRECTED: return GraphBuilder.undirected().allowsSelfLoops(true).build(); case DIRECTED: return GraphBuilder.directed().allowsSelfLoops(true).build(); } throw new IllegalStateException("Unexpected edge type: " + edgeType); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0)