Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addPredecessor (0.19 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
    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)
  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) {
    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/StandardMutableValueGraph.java

        GraphConnections<N, V> connectionsV = nodeConnections.get(nodeV);
        if (connectionsV == null) {
          connectionsV = addNodeInternal(nodeV);
        }
        connectionsV.addPredecessor(nodeU, value);
        if (previousValue == null) {
          checkPositive(++edgeCount);
        }
        return previousValue;
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
    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)
  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;
    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