Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for addRole (0.04 sec)

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

        graph.addNode(node4);
        graph.addNode(node2);
        graph.addNode(node6);
        graph.addNode(node8);
    
        assertThat(graph.nodeOrder().comparator()).isEqualTo(Ordering.natural());
        assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder();
      }
    
      private static void addNodes(MutableGraph<Integer> graph) {
        graph.addNode(3);
        graph.addNode(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

          NetworkBuilder.directed().<String, String>immutable().addNode("A").build();
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B =
          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      }
    
      @Test
      public void edgesConnecting_disconnectedNodes() {
        addNode(N1);
        addNode(N2);
        assertThat(network.edgesConnecting(N1, N2)).isEmpty();
      }
    
      @Test
      public void edgesConnecting_nodesNotInGraph() {
        addNode(N1);
        addNode(N2);
        assertNodeNotInGraphErrorMessage(
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.rule.RuleManager#addRule(org.codelibs.fess.crawler.rule.Rule)
         */
        @Override
        public void addRule(final Rule rule) {
            ruleList.add(rule);
        }
    
        @Override
        public void addRule(final int index, final Rule rule) {
            ruleList.add(index, rule);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> adjacentNodes = graph.adjacentNodes(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

        @Resource
        protected CrawlerContainer crawlerContainer;
    
        public void register(final int index) {
            final RuleManager ruleManager = crawlerContainer.getComponent("ruleManager");
            ruleManager.addRule(index, this);
        }
    
        @Override
        public String getRuleId() {
            return ruleId;
        }
    
        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top