Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nodePairInvalidatableSet (0.1 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) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
    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/AbstractBaseGraph.java

        return InvalidatableSet.of(
            set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node));
      }
    
      protected final <T> Set<T> nodePairInvalidatableSet(Set<T> set, N nodeU, N nodeV) {
        return InvalidatableSet.of(
            set,
            () -> nodes().contains(nodeU) && nodes().contains(nodeV),
            () -> String.format(NODE_PAIR_REMOVED_FROM_GRAPH, nodeU, nodeV));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. 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) {
        return nodeInvalidatableSet(checkedConnections(node).inEdges(), node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top