Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for removeSuccessor (0.18 sec)

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

        if (connections == null) {
          return false;
        }
    
        if (allowsSelfLoops()) {
          // Remove self-loop (if any) first, so we don't get CME while removing incident edges.
          if (connections.removeSuccessor(node) != null) {
            connections.removePredecessor(node);
            --edgeCount;
          }
        }
    
        for (N successor : ImmutableList.copyOf(connections.successors())) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

        return adjacentNodeValues.get(node);
      }
    
      @Override
      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      @CheckForNull
      public V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
      public void addPredecessor(N node, V value) {
        @SuppressWarnings("unused")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphConnections.java

      /**
       * Remove {@code node} from the set of successors. Returns the value previously associated with
       * the edge connecting the two nodes.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      V removeSuccessor(N node);
    
      /**
       * Add {@code node} as a predecessor to the origin node. In the case of an undirected graph, it
       * also becomes a successor. Associates {@code value} with the edge connecting the two nodes.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            orderedNodeConnections.remove(new NodeConnection.Pred<>(node));
          }
        }
      }
    
      @SuppressWarnings("unchecked")
      @Override
      @CheckForNull
      public V removeSuccessor(Object node) {
        checkNotNull(node);
        Object previousValue = adjacentNodeValues.get(node);
        Object removedValue;
    
        if (previousValue == null || previousValue == PRED) {
          removedValue = null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top