Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for nodes_checkReturnedSetMutability (0.31 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

     */
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

              .addEqualityGroup(
                  graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node))
              .testEquals();
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

              .addEqualityGroup(
                  graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node))
              .testEquals();
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      /**
       * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
       * (see the {@code Graph} documentation for more information).
       */
      @Test
      public abstract void nodes_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
       */
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

     */
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges))
                .isTrue();
          }
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

            assertThat(network.edgesConnecting(node, adjacentNode))
                .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node));
          }
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      /**
       * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
       * (see the {@code Graph} documentation for more information).
       */
      @Test
      public abstract void nodes_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
       */
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges))
                .isTrue();
          }
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

            assertThat(network.edgesConnecting(node, adjacentNode))
                .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node));
          }
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top