Searched refs:mutableNetwork (Results 1 – 2 of 2) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | ImmutableNetworkTest.java | 31 MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build(); in immutableNetwork() local 32 mutableNetwork.addNode("A"); in immutableNetwork() 33 ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork); in immutableNetwork() 37 assertThat(immutableNetwork).isEqualTo(mutableNetwork); in immutableNetwork() 39 mutableNetwork.addNode("B"); in immutableNetwork() 40 assertThat(immutableNetwork).isNotEqualTo(mutableNetwork); in immutableNetwork() 54 MutableNetwork<String, String> mutableNetwork = in edgesConnecting_directed() local 56 mutableNetwork.addEdge("A", "A", "AA"); in edgesConnecting_directed() 57 mutableNetwork.addEdge("A", "B", "AB"); in edgesConnecting_directed() 58 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_directed() [all …]
|
/external/guava/guava-tests/test/com/google/common/graph/ |
D | ImmutableNetworkTest.java | 31 MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build(); in immutableNetwork() local 32 mutableNetwork.addNode("A"); in immutableNetwork() 33 ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork); in immutableNetwork() 37 assertThat(immutableNetwork).isEqualTo(mutableNetwork); in immutableNetwork() 39 mutableNetwork.addNode("B"); in immutableNetwork() 40 assertThat(immutableNetwork).isNotEqualTo(mutableNetwork); in immutableNetwork() 54 MutableNetwork<String, String> mutableNetwork = in edgesConnecting_directed() local 56 mutableNetwork.addEdge("A", "A", "AA"); in edgesConnecting_directed() 57 mutableNetwork.addEdge("A", "B", "AB"); in edgesConnecting_directed() 58 Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork); in edgesConnecting_directed() [all …]
|