- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for AbstractGraph (1.05 seconds)
-
android/guava/src/com/google/common/graph/AbstractGraph.java
* * @author James Sexton * @param <N> Node parameter type * @since 20.0 */ public abstract class AbstractGraph<N> extends AbstractBaseGraph<N> implements Graph<N> { /** Constructor for use by subclasses. */ public AbstractGraph() {} @Override public final boolean equals(@Nullable Object obj) { if (obj == this) { return true; }
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/ForwardingGraph.java
* * @author James Sexton */ abstract class ForwardingGraph<N> extends AbstractGraph<N> { abstract BaseGraph<N> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } /** * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges() * implementation. */ @Override
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/AbstractNetwork.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
implements ValueGraph<N, V> { /** Constructor for use by subclasses. */ public AbstractValueGraph() {} @Override public Graph<N> asGraph() { return new AbstractGraph<N>() { @Override public Set<N> nodes() { return AbstractValueGraph.this.nodes(); } @Override public Set<EndpointPair<N>> edges() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
* <p>A reference implementation of this is provided by {@link AbstractGraph#equals(Object)}. */ @Override boolean equals(@Nullable Object object); /** * Returns the hash code for this graph. The hash code of a graph is defined as the hash code of * the set returned by {@link #edges()}. * * <p>A reference implementation of this is provided by {@link AbstractGraph#hashCode()}. */ @Override int hashCode();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
return EndpointPair.ordered(endpoints.target(), endpoints.source()); } return endpoints; } // 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) {
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)