Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for addRole (0.1 sec)

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

                .nodeOrder(nodeOrder)
                .edgeOrder(edgeOrder)
                .immutable();
    
        return networkBuilder.build();
      }
    
      @Override
      void addNode(Integer n) {
        networkBuilder.addNode(n);
        network = networkBuilder.build();
      }
    
      @Override
      void addEdge(Integer n1, Integer n2, String e) {
        networkBuilder.addEdge(n1, n2, e);
        network = networkBuilder.build();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardMutableGraph.java

        this.backingValueGraph = new StandardMutableValueGraph<>(builder);
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingValueGraph;
      }
    
      @Override
      public boolean addNode(N node) {
        return backingValueGraph.addNode(node);
      }
    
      @Override
      public boolean putEdge(N nodeU, N nodeV) {
        return backingValueGraph.putEdgeValue(nodeU, nodeV, Presence.EDGE_EXISTS) == null;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. 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.9K bytes
    - Viewed (0)
  4. fess-crawler-lasta/src/main/resources/crawler/rule.xml

    	<include path="crawler/transformer.xml" />
    
    	<component name="ruleManager"
    		class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype">
    		<postConstruct name="addRule">
    			<arg>sitemapsRule</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>fileRule</arg>
    		</postConstruct>
    	</component>
    
    	<component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule">
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                    return true;
                }
            }
    
            return allRequired;
        }
    
        public void addRule(final String key, final String regex) {
            regexMap.put(key, Pattern.compile(regex));
        }
    
        public void addRule(final String key, final Pattern pattern) {
            regexMap.put(key, pattern);
        }
    
        public boolean isDefaultRule() {
            return defaultRule;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        mutableNetwork.addNode("A");
        ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork);
    
        assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class);
        assertThat(immutableNetwork).isNotInstanceOf(MutableNetwork.class);
        assertThat(immutableNetwork).isEqualTo(mutableNetwork);
    
        mutableNetwork.addNode("B");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

        return GraphBuilder.undirected()
            .allowsSelfLoops(allowsSelfLoops)
            .incidentEdgeOrder(incidentEdgeOrder)
            .build();
      }
    
      @Override
      final void addNode(Integer n) {
        graphAsMutableGraph.addNode(n);
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphAsMutableGraph.putEdge(n1, n2);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

        public MetadataGraph(MetadataGraphNode entry) {
            this();
    
            this.entry = entry;
        }
    
        public MetadataGraph() {
            nodes = new ArrayList<>(64);
        }
    
        public void addNode(MetadataGraphNode node) {
            nodes.add(node);
        }
    
        /**
         * find a node by the GAV (metadata)
         *
         * @param md
         */
        public MetadataGraphNode findNode(MavenArtifactMetadata md) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
            assertTrue(sitemapsRule.match(responseData));
            InputStream is = responseData.getResponseBody();
            assertTrue(is instanceof InputStream);
            CloseableUtil.closeQuietly(responseData);
        }
    
        private void assertMatchFalse(ResponseData responseData) {
            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/MutableNetwork.java

       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds {@code edge} connecting {@code nodeU} to {@code nodeV}.
       *
       * <p>If the graph is directed, {@code edge} will be directed in this graph; otherwise, it will be
       * undirected.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
Back to top