- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for GraphConnections (0.07 sec)
-
android/guava/src/com/google/common/graph/GraphConnections.java
* a {@link Graph}. * * @author James Sexton * @param <N> Node parameter type * @param <V> Value parameter type */ interface GraphConnections<N, V> { Set<N> adjacentNodes(); Set<N> predecessors(); Set<N> successors(); /** * Returns an iterator over the incident edges. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
final MapIteratorCache<N, GraphConnections<N, V>> nodeConnections; long edgeCount; // must be updated when edges are added or removed /** Constructs a graph with the properties specified in {@code builder}. */ StandardValueGraph(AbstractGraphBuilder<? super N> builder) { this( builder, builder.nodeOrder.<N, GraphConnections<N, V>>createMap(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/graph/UndirectedGraphConnections.java
import java.util.Set; import org.jspecify.annotations.Nullable; /** * An implementation of {@link GraphConnections} for undirected graphs. * * @author James Sexton * @param <N> Node parameter type * @param <V> Value parameter type */ final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> { private final Map<N, V> adjacentNodeValues;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
} private static <N, V> ImmutableMap<N, GraphConnections<N, V>> getNodeConnections( ValueGraph<N, V> graph) { // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the // input nodes are sorted. ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
import java.util.Set; import org.jspecify.annotations.Nullable; /** * An implementation of {@link GraphConnections} for undirected graphs. * * @author James Sexton * @param <N> Node parameter type * @param <V> Value parameter type */ final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> { private final Map<N, V> adjacentNodeValues;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
} private static <N> ImmutableMap<N, GraphConnections<N, Presence>> getNodeConnections( Graph<N> graph) { // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the // input nodes are sorted. ImmutableMap.Builder<N, GraphConnections<N, Presence>> nodeConnections = ImmutableMap.builder();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
} private static <N, V> ImmutableMap<N, GraphConnections<N, V>> getNodeConnections( ValueGraph<N, V> graph) { // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the // input nodes are sorted. ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
import org.jspecify.annotations.Nullable; /** * An implementation of {@link GraphConnections} for directed graphs. * * @author James Sexton * @author Jens Nyman * @param <N> Node parameter type * @param <V> Value parameter type */ final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> { /** * A wrapper class to indicate a node is both a predecessor and successor while still providingRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0)