- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ForwardingGraph (0.07 seconds)
-
android/guava/src/com/google/common/graph/ForwardingGraph.java
* A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not * currently planned to be released as a general-purpose forwarding class. * * @author James Sexton */ abstract class ForwardingGraph<N> extends AbstractGraph<N> { abstract BaseGraph<N> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableGraph.java
* which is in O(d_node) where d_node is the degree of {@code node}. * * @author James Sexton * @param <N> Node parameter type */ final class StandardMutableGraph<N> extends ForwardingGraph<N> implements MutableGraph<N> { private final MutableValueGraph<N, Presence> backingValueGraph; /** Constructs a {@link MutableGraph} with the properties specified in {@code builder}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
* @author Joshua O'Madadhain * @author Omar Darwish * @author Jens Nyman * @param <N> Node parameter type * @since 20.0 */ @Immutable(containerOf = {"N"}) public class ImmutableGraph<N> extends ForwardingGraph<N> { @SuppressWarnings("Immutable") // The backing graph must be immutable. private final BaseGraph<N> backingGraph; ImmutableGraph(BaseGraph<N> backingGraph) { this.backingGraph = backingGraph; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
// NOTE: this should work as long as the delegate graph's implementation of edges() (like that of // AbstractGraph) derives its behavior from calling successors(). private static final class TransposedGraph<N> extends ForwardingGraph<N> { private final Graph<N> graph; TransposedGraph(Graph<N> graph) { this.graph = graph; } @Override Graph<N> delegate() { return graph; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0)