Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for inEdges (0.03 sec)

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

      @Override
      @Test
      public void inEdges_checkReturnedSetMutability() {
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
        addNode(N1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                .contains(inEdge);
            if (network.isDirected()) {
              assertThat(network.incidentNodes(inEdge).target()).isEqualTo(node);
            }
          }
    
          for (E outEdge : sanityCheckSet(network.outEdges(node))) {
            assertThat(network.incidentEdges(node)).contains(outEdge);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<String> inEdges = network.inEdges(N2);
        assertThrows(UnsupportedOperationException.class, () -> inEdges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactlyElementsIn(inEdges);
      }
    
      @Override
      @Test
      public void outEdges_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Network.java

      /**
       * Returns a live view of the edges whose {@link #incidentNodes(Object) incident nodes} in this
       * network include {@code node}.
       *
       * <p>This is equal to the union of {@link #inEdges(Object)} and {@link #outEdges(Object)}.
       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

        public int outDegree(N node) {
          return delegate().inDegree(node); // transpose
        }
    
        @Override
        public Set<E> inEdges(N node) {
          return delegate().outEdges(node); // transpose
        }
    
        @Override
        public Set<E> outEdges(N node) {
          return delegate().inEdges(node); // transpose
        }
    
        @Override
        public EndpointPair<N> incidentNodes(E edge) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Graphs.java

        public int outDegree(N node) {
          return delegate().inDegree(node); // transpose
        }
    
        @Override
        public Set<E> inEdges(N node) {
          return delegate().outEdges(node); // transpose
        }
    
        @Override
        public Set<E> outEdges(N node) {
          return delegate().inEdges(node); // transpose
        }
    
        @Override
        public EndpointPair<N> incidentNodes(E edge) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
     * Returns true if file streams can be manipulated independently of their paths. This is typically
     * true for systems like Mac, Unix, and Linux that use inodes in their file system interface. It is
     * typically false on Windows.
     *
     * If this returns false we won't permit simultaneous reads and writes. When writes commit we need
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            orderedNodeConnectionsBuilder.add(new NodeConnection.Succ<>(thisNode));
            predecessorCount++;
            successorCount++;
          } else if (incidentEdge.nodeV().equals(thisNode)) { // incidentEdge is an inEdge
            N predecessor = incidentEdge.nodeU();
    
            Object existingValue = adjacentNodeValues.put(predecessor, PRED);
            if (existingValue != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * be exploited to create security vulnerabilities, especially when executable files are to be
       * written into the directory.
       *
       * <p>This method assumes that the temporary volume is writable, has free inodes and free blocks,
       * and that it will not be called thousands of times per second.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#createTempDirectory}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top