Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for AbstractGraph (0.08 seconds)

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

      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractNetwork.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
            if (allowsParallelEdges()) {
              return super.edges(); // Defer to AbstractGraph implementation.
            }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/Graph.java

       * <p>A reference implementation of this is provided by {@link AbstractGraph#equals(Object)}.
       */
      @Override
      boolean equals(@Nullable Object object);
    
      /**
       * Returns the hash code for this graph. The hash code of a graph is defined as the hash code of
       * the set returned by {@link #edges()}.
       *
       * <p>A reference implementation of this is provided by {@link AbstractGraph#hashCode()}.
       */
      @Override
      int hashCode();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

          return EndpointPair.ordered(endpoints.target(), endpoints.source());
        }
        return endpoints;
      }
    
      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
      // AbstractGraph) derives its behavior from calling successors().
      private static final class TransposedGraph<N> extends ForwardingGraph<N> {
        private final Graph<N> graph;
    
        TransposedGraph(Graph<N> graph) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
Back to Top