Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AbstractGraph (0.19 sec)

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

     * class rather than implement {@link Graph} directly.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractGraph<N> extends AbstractBaseGraph<N> implements Graph<N> {
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Graph)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ForwardingGraph.java

     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ForwardingGraph.java

     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N>
        implements ValueGraph<N, V> {
    
      @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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractValueGraph.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N>
        implements ValueGraph<N, V> {
    
      @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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top