Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Monnet (1.72 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      @Test
      public void equivalent_connectionsDiffer() {
        network.addEdge(N1, N2, E12);
        network.addEdge(N1, N3, E13);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/NetworkBuilder.java

        this.allowsParallelEdges = allowsParallelEdges;
        return this;
      }
    
      /**
       * Specifies whether the network will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        cache.getUnchecked(objectWithHash(0));
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, removalListener.getCount());
      }
    
      public void testUpdateRecency_onGet() {
        IdentityLoader<Integer> loader = identityLoader();
        final LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader);
        CacheTesting.checkRecency(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if {@code edge} already exists in the network and does not
         *     connect {@code nodeU} to {@code nodeV}
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ValueGraph.java

      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      @Test
      public void equivalent_connectionsDiffer() {
        network.addEdge(N1, N2, E12);
        network.addEdge(N1, N3, E13);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        // connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent
        g2.addEdge(N1, N2, E13);
        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        ValueGraphBuilder<N1, V1> castBuilder = cast();
        return new ImmutableValueGraph.Builder<>(castBuilder);
      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RangeMap.java

       * the behavior described in {@link #put(Range, Object) put(range, value)}, however the ranges
       * returned from {@link #asMapOfRanges} will be different if there were existing entries which
       * connect to the given range and value.
       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/GraphBuilder.java

        GraphBuilder<N1> castBuilder = cast();
        return new ImmutableGraph.Builder<>(castBuilder);
      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        cache.getUnchecked(objectWithHash(0));
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, removalListener.getCount());
      }
    
      public void testUpdateRecency_onGet() {
        IdentityLoader<Integer> loader = identityLoader();
        final LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader);
        CacheTesting.checkRecency(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
Back to top