- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 79 for addRole (0.08 sec)
-
guava-tests/test/com/google/common/graph/GraphMutationTest.java
assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); } ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes()); while (graph.edges().size() < NUM_EDGES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java
import org.codelibs.fess.crawler.entity.ResponseData; /** * @author shinsuke * */ public interface RuleManager { Rule getRule(ResponseData responseData); void addRule(Rule rule); void addRule(int index, Rule rule); boolean removeRule(Rule rule); boolean hasRule(Rule rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 967 bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java
public Graph<Integer> createGraph() { graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); return graphBuilder.build(); } @Override final void addNode(Integer n) { graphBuilder.addNode(n); graph = graphBuilder.build(); } @Override final void putEdge(Integer n1, Integer n2) { graphBuilder.putEdge(n1, n2); graph = graphBuilder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java
public Graph<Integer> createGraph() { graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); return graphBuilder.build(); } @Override final void addNode(Integer n) { graphBuilder.addNode(n); graph = graphBuilder.build(); } @Override final void putEdge(Integer n1, Integer n2) { graphBuilder.putEdge(n1, n2); graph = graphBuilder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
return GraphBuilder.directed() .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) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
return GraphBuilder.directed() .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) -
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) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); } ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes()); while (graph.edges().size() < NUM_EDGES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0)