Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for AbstractGraph (0.04 sec)

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

     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    public abstract class AbstractGraph<N> extends AbstractBaseGraph<N> implements Graph<N> {
      /** Constructor for use by subclasses. */
      public AbstractGraph() {}
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ForwardingGraph.java

     *
     * @author James Sexton
     */
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges()
       * implementation.
       */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ForwardingGraph.java

     *
     * @author James Sexton
     */
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges()
       * implementation.
       */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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.
            }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. 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.
            }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractValueGraph.java

        implements ValueGraph<N, V> {
      /** Constructor for use by subclasses. */
      public AbstractValueGraph() {}
    
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
            return AbstractValueGraph.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top