Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for isDirected (0.35 sec)

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

        return endpoints.isOrdered() == this.isDirected();
      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Network)) {
          return false;
        }
        Network<?, ?> other = (Network<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
            return AbstractValueGraph.this.edges();
          }
    
          @Override
          public boolean isDirected() {
            return AbstractValueGraph.this.isDirected();
          }
    
          @Override
          public boolean allowsSelfLoops() {
            return AbstractValueGraph.this.allowsSelfLoops();
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ForwardingGraph.java

       * implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/GraphBuilder.java

       * <p>The "queryable" properties are those that are exposed through the {@link Graph} interface,
       * such as {@link Graph#isDirected()}. Other properties, such as {@link #expectedNodeCount(int)},
       * are not set in the new builder.
       */
      public static <N> GraphBuilder<N> from(Graph<N> graph) {
        return new GraphBuilder<N>(graph.isDirected())
            .allowsSelfLoops(graph.allowsSelfLoops())
            .nodeOrder(graph.nodeOrder())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractGraph.java

        Graph<?> other = (Graph<?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edges().equals(other.edges());
      }
    
      @Override
      public final int hashCode() {
        return edges().hashCode();
      }
    
      /** Returns a string representation of this graph. */
      @Override
      public String toString() {
        return "isDirected: "
            + isDirected()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardNetwork.java

        return nodeConnections.unmodifiableKeySet();
      }
    
      @Override
      public Set<E> edges() {
        return edgeToReferenceNode.unmodifiableKeySet();
      }
    
      @Override
      public boolean isDirected() {
        return isDirected;
      }
    
      @Override
      public boolean allowsParallelEdges() {
        return allowsParallelEdges;
      }
    
      @Override
      public boolean allowsSelfLoops() {
        return allowsSelfLoops;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ForwardingNetwork.java

      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      @Override
      public Set<E> edges() {
        return delegate().edges();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
      @Override
      public boolean allowsParallelEdges() {
        return delegate().allowsParallelEdges();
      }
    
      @Override
      public boolean allowsSelfLoops() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

            GraphBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .immutable()
                .build();
    
        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            NetworkBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
Back to top