/external/guava/guava-tests/test/com/google/common/graph/ |
D | StandardImmutableDirectedGraphTest.java | 36 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableDirectedGraphTest 44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph() 45 return graphBuilder.build(); in createGraph() 50 graphBuilder.addNode(n); in addNode() 51 graph = graphBuilder.build(); in addNode() 56 graphBuilder.putEdge(n1, n2); in putEdge() 57 graph = graphBuilder.build(); in putEdge()
|
D | StandardImmutableUndirectedGraphTest.java | 37 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableUndirectedGraphTest 45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph() 46 return graphBuilder.build(); in createGraph() 51 graphBuilder.addNode(n); in addNode() 52 graph = graphBuilder.build(); in addNode() 57 graphBuilder.putEdge(n1, n2); in putEdge() 58 graph = graphBuilder.build(); in putEdge()
|
D | StandardImmutableGraphAdditionalTest.java | 73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder() local 77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder() 80 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableGraphBuilder_copiesGraphBuilder()
|
D | ImmutableValueGraphTest.java | 93 ValueGraphBuilder<String, Object> graphBuilder = in immutableValueGraphBuilder_copiesGraphBuilder() local 98 graphBuilder.<String, Integer>immutable(); in immutableValueGraphBuilder_copiesGraphBuilder() 101 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableValueGraphBuilder_copiesGraphBuilder()
|
D | GraphMutationTest.java | 49 private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { in testGraphMutation() argument 53 MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); in testGraphMutation()
|
/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | StandardImmutableUndirectedGraphTest.java | 37 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableUndirectedGraphTest 45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph() 46 return graphBuilder.build(); in createGraph() 51 graphBuilder.addNode(n); in addNode() 52 graph = graphBuilder.build(); in addNode() 57 graphBuilder.putEdge(n1, n2); in putEdge() 58 graph = graphBuilder.build(); in putEdge()
|
D | StandardImmutableDirectedGraphTest.java | 36 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableDirectedGraphTest 44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph() 45 return graphBuilder.build(); in createGraph() 50 graphBuilder.addNode(n); in addNode() 51 graph = graphBuilder.build(); in addNode() 56 graphBuilder.putEdge(n1, n2); in putEdge() 57 graph = graphBuilder.build(); in putEdge()
|
D | StandardImmutableGraphAdditionalTest.java | 73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder() local 77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder() 80 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableGraphBuilder_copiesGraphBuilder()
|
D | ImmutableValueGraphTest.java | 93 ValueGraphBuilder<String, Object> graphBuilder = in immutableValueGraphBuilder_copiesGraphBuilder() local 98 graphBuilder.<String, Integer>immutable(); in immutableValueGraphBuilder_copiesGraphBuilder() 101 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableValueGraphBuilder_copiesGraphBuilder()
|
D | GraphMutationTest.java | 49 private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { in testGraphMutation() argument 53 MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); in testGraphMutation()
|
/external/guava/guava/src/com/google/common/graph/ |
D | ImmutableGraph.java | 132 Builder(GraphBuilder<N> graphBuilder) { in Builder() argument 135 this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
|
D | ImmutableValueGraph.java | 132 Builder(ValueGraphBuilder<N, V> graphBuilder) { in Builder() argument 136 graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
|
/external/guava/android/guava/src/com/google/common/graph/ |
D | ImmutableGraph.java | 132 Builder(GraphBuilder<N> graphBuilder) { in Builder() argument 135 this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
|
D | ImmutableValueGraph.java | 132 Builder(ValueGraphBuilder<N, V> graphBuilder) { in Builder() argument 136 graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
|