- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for AbstractNetwork (0.79 seconds)
-
android/guava/src/com/google/common/graph/AbstractNetwork.java
* @param <E> Edge parameter type * @since 20.0 */ public abstract class AbstractNetwork<N, E> implements Network<N, E> { /** Constructor for use by subclasses. */ public AbstractNetwork() {} @Override public Graph<N> asGraph() { return new AbstractGraph<N>() { @Override public Set<N> nodes() { return AbstractNetwork.this.nodes(); } @Override
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-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** * Test for {@link Network} methods which have default implementations. Currently those * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network} * itself, once we are willing to use Java 8 default methods. */ @AndroidIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
N nodeV = endpoints.nodeV(); return nodes().contains(nodeU) && successors(nodeU).contains(nodeV); } @Override public Network<N, EndpointPair<N>> asNetwork() { return new AbstractNetwork<N, EndpointPair<N>>() { @Override public Set<N> nodes() { return AbstractBaseGraph.this.nodes(); } @Override public Set<EndpointPair<N>> edges() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ForwardingNetwork.java
* currently planned to be released as a general-purpose forwarding class. * * @author James Sexton * @author Joshua O'Madadhain */ abstract class ForwardingNetwork<N, E> extends AbstractNetwork<N, E> { abstract Network<N, E> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } @Override public Set<E> edges() { return delegate().edges(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
* * @author James Sexton * @author Joshua O'Madadhain * @author Omar Darwish * @param <N> Node parameter type * @param <E> Edge parameter type */ class StandardNetwork<N, E> extends AbstractNetwork<N, E> { private final boolean isDirected; private final boolean allowsParallelEdges; private final boolean allowsSelfLoops; private final ElementOrder<N> nodeOrder; private final ElementOrder<E> edgeOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Network.java
* the order in which they are iterated over, are irrelevant. * * <p>A reference implementation of this is provided by {@link AbstractNetwork#equals(Object)}. */ @Override boolean equals(@Nullable Object object); /** * Returns the hash code for this network. The hash code of a network is defined as the hash codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 17.6K bytes - Click Count (0)