Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
          return ImmutableSet.of();
        }
        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardNetwork.java

        if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality
          return ImmutableSet.of();
        }
        checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV);
        return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV);
      }
    
      @Override
      public Set<E> inEdges(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/StandardValueGraph.java

        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException("Node " + node + " is not an element of this graph.");
        }
        return connections;
      }
    
      final boolean containsNode(@CheckForNull N node) {
        return nodeConnections.containsKey(node);
      }
    
      private final boolean hasEdgeConnectingInternal(N nodeU, N nodeV) {
        GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        super(builder);
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addNode(N node) {
        checkNotNull(node, "node");
    
        if (containsNode(node)) {
          return false;
        }
    
        addNodeInternal(node);
        return true;
      }
    
      /**
       * Adds {@code node} to the graph and returns the associated {@link NetworkConnections}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top