Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava/src/com/google/common/graph/IncidentEdgeSet.java

     * AbstractSet#iterator()}.
     */
    @ElementTypesAreNonnullByDefault
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final BaseGraph<N> graph;
    
      IncidentEdgeSet(BaseGraph<N> graph, N node) {
        this.graph = graph;
        this.node = node;
      }
    
      @Override
      public boolean remove(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

     * AbstractSet#iterator()}.
     */
    @ElementTypesAreNonnullByDefault
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final BaseGraph<N> graph;
    
      IncidentEdgeSet(BaseGraph<N> graph, N node) {
        this.graph = graph;
        this.node = node;
      }
    
      @Override
      public boolean remove(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/StandardValueGraph.java

      }
    
      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        GraphConnections<N, V> connections = checkedConnections(node);
        IncidentEdgeSet<N> incident =
            new IncidentEdgeSet<N>(this, node) {
              @Override
              public Iterator<EndpointPair<N>> iterator() {
                return connections.incidentEdgeIterator(node);
              }
            };
    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. guava/src/com/google/common/graph/AbstractBaseGraph.java

      @Override
      public Set<EndpointPair<N>> incidentEdges(N node) {
        checkNotNull(node);
        checkArgument(nodes().contains(node), "Node %s is not an element of this graph.", node);
        IncidentEdgeSet<N> incident =
            new IncidentEdgeSet<N>(this, node) {
              @Override
              public UnmodifiableIterator<EndpointPair<N>> iterator() {
                if (graph.isDirected()) {
                  return Iterators.unmodifiableIterator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top