- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 195 for Graphs (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/cache/CacheLoader.java
* overridden as desired. * * <p>Usage example: * * {@snippet : * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* overridden as desired. * * <p>Usage example: * * {@snippet : * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraph.java
/** Constructor for use by subclasses. */ public AbstractGraph() {} @Override public final boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof Graph)) { return false; } Graph<?> other = (Graph<?>) obj; return isDirected() == other.isDirected() && nodes().equals(other.nodes())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
*/ package com.google.common.graph; import java.util.Set; /** * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}. * * @author James Sexton * @param <N> Node parameter type */ interface BaseGraph<N> extends ArchetypeGraph<N> { // // Graph-level accessors // /** Returns all edges in this graph. */ Set<EndpointPair<N>> edges(); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder(); assertThat(graph.adjacentNodes(N1)).containsExactly(N4, N5); assertThat(graph.adjacentNodes(N2)).containsExactly(N3); assertThat(graph.adjacentNodes(N3)).containsExactly(N2); assertThat(graph.adjacentNodes(N4)).containsExactly(N1); assertThat(graph.adjacentNodes(N5)).containsExactly(N1); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableValueGraph.java
* * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be * undirected. * * <p>If this graph is directed, {@code endpoints} must be ordered. * * <p>Values do not have to be unique. However, values must be non-null. * * <p>If either or both endpoints are not already present in this graph, this method will silentlyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphMutationTest.java
MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); 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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
assertThat(graphAsMutableGraph.putEdge(N2, N3)).isTrue(); assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder(); assertThat(graph.successors(N1)).containsExactly(N5); assertThat(graph.successors(N2)).containsExactly(N3); assertThat(graph.successors(N3)).isEmpty(); assertThat(graph.successors(N4)).containsExactly(N1); assertThat(graph.successors(N5)).isEmpty(); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 14.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
* * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be * undirected. * * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * * @return {@code true} if the graph was modified as a result of this callCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphConstants.java
static final String EDGE_NOT_IN_GRAPH = "Edge %s is not an element of this graph."; static final String NODE_REMOVED_FROM_GRAPH = "Node %s that was used to generate this set is no longer in the graph."; static final String NODE_PAIR_REMOVED_FROM_GRAPH = "Node %s or node %s that were used to generate this set are no longer in the graph."; static final String EDGE_REMOVED_FROM_GRAPH =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.1K bytes - Click Count (0)