Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IncidentEdgeSet (0.09 sec)

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

    /**
     * Abstract base class for an incident edges set that allows different implementations of {@link
     * AbstractSet#iterator()}.
     */
    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(@Nullable Object o) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top