Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for removePredecessor (0.1 sec)

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

       * if there is no such edge.
       */
      @CheckForNull
      V value(N node);
    
      /** Remove {@code node} from the set of predecessors. */
      void removePredecessor(N node);
    
      /**
       * Remove {@code node} from the set of successors. Returns the value previously associated with
       * the edge connecting the two nodes.
       */
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      @Override
      @CheckForNull
      public V value(N node) {
        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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      @Override
      @CheckForNull
      public V value(N node) {
        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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        }
        return (V) value;
      }
    
      @Override
      public void removePredecessor(N node) {
        checkNotNull(node);
    
        Object previousValue = adjacentNodeValues.get(node);
        boolean removedPredecessor;
    
        if (previousValue == PRED) {
          adjacentNodeValues.remove(node);
          removedPredecessor = true;
        } else if (previousValue instanceof PredAndSucc) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top