Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for immutableValueGraph (0.1 sec)

  1. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       */
      @Deprecated
      public static <N, V> ImmutableValueGraph<N, V> copyOf(ImmutableValueGraph<N, V> graph) {
        return checkNotNull(graph);
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return ElementOrder.stable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ImmutableValueGraph.java

            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       */
      @Deprecated
      public static <N, V> ImmutableValueGraph<N, V> copyOf(ImmutableValueGraph<N, V> graph) {
        return checkNotNull(graph);
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return ElementOrder.stable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

    /** Tests for {@link ImmutableValueGraph} . */
    @RunWith(JUnit4.class)
    public class ImmutableValueGraphTest {
    
      @Test
      public void immutableValueGraph() {
        MutableValueGraph<String, Integer> mutableValueGraph = ValueGraphBuilder.directed().build();
        mutableValueGraph.addNode("A");
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(mutableValueGraph);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

    /** Tests for {@link ImmutableValueGraph} . */
    @RunWith(JUnit4.class)
    public class ImmutableValueGraphTest {
    
      @Test
      public void immutableValueGraph() {
        MutableValueGraph<String, Integer> mutableValueGraph = ValueGraphBuilder.directed().build();
        mutableValueGraph.addNode("A");
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(mutableValueGraph);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

            .nodeOrder(graph.nodeOrder())
            .incidentEdgeOrder(graph.incidentEdgeOrder());
      }
    
      /**
       * Returns an {@link ImmutableValueGraph.Builder} with the properties of this {@link
       * ValueGraphBuilder}.
       *
       * <p>The returned builder can be used for populating an {@link ImmutableValueGraph}.
       *
       * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ValueGraph.java

     * ImmutableValueGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code ValueGraph} using {@link
     * ImmutableValueGraph#copyOf(ValueGraph)}:
     *
     * <pre>{@code
     * ImmutableValueGraph<Integer, Double> immutableGraph = ImmutableValueGraph.copyOf(graph);
     * }</pre>
     *
     * <p>Instances of {@link ImmutableValueGraph} do not implement {@link MutableValueGraph}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableValueGraph.copyOf(graph));
    
        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/ValueGraphTest.java

      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
        assertStronglyEquivalent(graph, Graphs.copyOf(graph));
        assertStronglyEquivalent(graph, ImmutableValueGraph.copyOf(graph));
    
        Graph<Integer> asGraph = graph.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top