Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addPredecessor (0.06 sec)

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

      /**
       * 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.
       */
      void addPredecessor(N node, V value);
    
      /**
       * Add {@code node} as a successor to the origin node. In the case of an undirected graph, it also
    Registered: 2024-11-01 12:43
    - Last Modified: 2021-04-26 17:43
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

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

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

         * https://github.com/jspecify/checker-framework/issues/8.)
         */
        return removedValue == null ? null : (V) removedValue;
      }
    
      @Override
      public void addPredecessor(N node, V unused) {
        Object previousValue = adjacentNodeValues.put(node, PRED);
        boolean addedPredecessor;
    
        if (previousValue == null) {
          addedPredecessor = true;
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-02-20 17:00
    - 18K bytes
    - Viewed (0)
Back to top