- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 79 for addRole (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
public void test_match_default() { final RegexRule regexRule = new RegexRule(); regexRule.defaultRule = true; regexRule.allRequired = true; regexRule.addRule("url", Pattern.compile("http:.*")); regexRule.addRule("mimeType", Pattern.compile("text/html")); assertTrue(regexRule.match(getTestData1())); assertTrue(regexRule.match(getTestData2()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
@RunWith(JUnit4.class) public class ImmutableValueGraphTest { @Test public void immutableValueGraph() { MutableValueGraph<String, Integer> mutableValueGraph = ValueGraphBuilder.directed().build(); mutableValueGraph.addNode("A"); ImmutableValueGraph<String, Integer> immutableValueGraph = ImmutableValueGraph.copyOf(mutableValueGraph); assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
* * @return this {@code Builder} object */ @CanIgnoreReturnValue public Builder<N> addNode(N node) { mutableGraph.addNode(node); return this; } /** * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/MutableValueGraph.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 graph was modified as a result of this call */ @CanIgnoreReturnValue boolean addNode(N node); /** * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and sets * a value for that edge to {@code value} (overwriting the existing value, if any). *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.4K bytes - Viewed (0) -
android/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) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
* * @return this {@code Builder} object */ @CanIgnoreReturnValue public ImmutableValueGraph.Builder<N, V> addNode(N node) { mutableValueGraph.addNode(node); return this; } /** * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThat(graphAsMutableGraph.addNode(N1)).isTrue(); assertThat(graph.nodes()).contains(N1); } @Test public void addNode_existingNode() { assume().that(graphIsMutable()).isTrue(); addNode(N1); ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes()); assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
MutableGraph<String> mutableGraph = GraphBuilder.directed().build(); mutableGraph.addNode("A"); ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); assertThat(immutableGraph).isNotInstanceOf(MutableValueGraph.class); assertThat(immutableGraph).isEqualTo(mutableGraph); mutableGraph.addNode("B"); assertThat(immutableGraph).isNotEqualTo(mutableGraph); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
MutableGraph<String> mutableGraph = GraphBuilder.directed().build(); mutableGraph.addNode("A"); ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); assertThat(immutableGraph).isNotInstanceOf(MutableValueGraph.class); assertThat(immutableGraph).isEqualTo(mutableGraph); mutableGraph.addNode("B"); assertThat(immutableGraph).isNotEqualTo(mutableGraph); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 4.5K bytes - Viewed (0)