- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ImmutableNetwork (0.09 sec)
-
android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
import org.junit.runners.JUnit4; /** Tests for {@link ImmutableNetwork}. */ @RunWith(JUnit4.class) public class ImmutableNetworkTest { @Test public void immutableNetwork() { MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build(); mutableNetwork.addNode("A"); ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
import org.junit.runners.JUnit4; /** Tests for {@link ImmutableNetwork}. */ @RunWith(JUnit4.class) public class ImmutableNetworkTest { @Test public void immutableNetwork() { MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build(); mutableNetwork.addNode("A"); ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
.edgeOrder(network.edgeOrder()); } /** * Returns an {@link ImmutableNetwork.Builder} with the properties of this {@link NetworkBuilder}. * * <p>The returned builder can be used for populating an {@link ImmutableNetwork}. * * @since 28.0 */ public <N1 extends N, E1 extends E> ImmutableNetwork.Builder<N1, E1> immutable() { NetworkBuilder<N1, E1> castBuilder = cast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
import java.util.Arrays; import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for a directed {@link ImmutableNetwork}. */ @AndroidIncompatible @RunWith(Parameterized.class) public class StandardImmutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
NetworkBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16); private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_A = NetworkBuilder.directed().<String, String>immutable().addNode("A").build(); private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B = NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
import java.util.Arrays; import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for a directed {@link ImmutableNetwork}. */ @AndroidIncompatible @RunWith(Parameterized.class) public class StandardImmutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
NetworkBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16); private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_A = NetworkBuilder.directed().<String, String>immutable().addNode("A").build(); private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B = NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0)