- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for immutableNetwork (0.06 seconds)
-
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
import org.junit.runners.JUnit4; /** Tests for {@link ImmutableNetwork}. */ @RunWith(JUnit4.class) @NullUnmarked public class ImmutableNetworkTest { @Test public void immutableNetwork() { MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build(); mutableNetwork.addNode("A"); ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 5.4K bytes - Click Count (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();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Network.java
* ImmutableNetwork}. * * <p>You can create an immutable copy of an existing {@code Network} using {@link * ImmutableNetwork#copyOf(Network)}: * * {@snippet : * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network); * } * * <p>Instances of {@link ImmutableNetwork} do not implement {@link MutableNetwork} (obviously!) andCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.7K bytes - Click Count (0)